Open ghost opened 8 years ago
Need this as well. Trying to setup a nice date/time picker that reads/writes the timestamp from/to a hidden field.
So the database stores the timestamp and the front end renders the nice date/time picker.
Hey I came up with this:
http://dtbaker.net/web-development/jquery-timepicker-with-unix-epoch/
Seems to work well
@dtbaker your code has gone 404, could you please have a look at mirroring it somewhere safe?
How does one get a TIMESTAMP from the timepicker (time since 1970 or GPS Epoch, January 1st 1980)?