We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24278
    • 165 Posts
    Hi,

    I use the DATE input type to store the value for the TV and the value stored in the mySQL database is for e.g. 21-05-2006 20:57:18.

    How can I? store the DATE value as a unix timestamp in the mySql database or convert the DATE value (shown above) to unix timestamp before comparing it with the current date/time.

    Thanks in advance for all your help.

    -raavi
      • 18397
      • 3,250 Posts
      This was discussed in a NewsListing thread a few weeks ago. A quick search should lead you to the thread I am referring to.