HTML form (processed with PHP), user-entered date, insert to MySQL as smalldatetime. How?
I can't convert the user-entered string to make it go in as a date. In the end I need to sort by these dates. There has to be a way.
― Ms Misery (MsMisery), Monday, 11 December 2006 16:21 (seventeen years ago) link
http://us3.php.net/strtotime
and then
use FROM_UNIXTIME (32498892345982) around the unix timestamp in your sql
― jw (ex machina), Monday, 11 December 2006 16:28 (seventeen years ago) link
― Ms Misery (MsMisery), Monday, 11 December 2006 17:19 (seventeen years ago) link
― Oddly enough, staying here I saw seven golden bowls make cakes and religion (goo, Tuesday, 12 December 2006 03:19 (seventeen years ago) link
What's that all about then?
― M Grout (Mark Grout), Tuesday, 12 December 2006 12:48 (seventeen years ago) link