Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Issue with pickaday in custom thread field
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #6
RE: Issue with pickaday in custom thread field
Then you need to modify the value before it is saved into database. Use Input Formatter setting.
You can use strtotime function.

Note that strtotime will assume any xx/yy/zzzz as mm/dd/yyyy format, and xx-yy-zzzz as dd-mm-yyyy format.
http://php.net/manual/en/function.strtotime.php

01-10-2018 02:01 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Issue with pickaday in custom thread field - RateU - 01-10-2018 02:01 AM

 Standard Tools
Forum Jump: