The Bootstrap Time Picker gives me a date in this format:
Mon March 16, 2015 00: 00:00 GMT-0500 (Central Daylight Time)
I would like to use it in PHP as a date object.
I am trying to use it:
Date ("YMD HH: I: S", Straotomem ("Mon March 16, 2015 00:00 : 00 GMT-0500 (Central Daylight Time) "));
But as a result:
1969-31 18:00:00
which I understand I'm close to EPOC.
I think I am either using the wrong function, or I am formatted incorrect date.
I am using TimePicker.
Stromatomet works only on some formats from which can be found here
March 16 2015 00:00:00 GMT-0500
The above section should return the correct time value for you. Either way the picker is output to the date, to change that footer, without knowing what picker it will adopt or manipulate some string from the picker on the current date format (the first option is simple and read Will be easy).
No comments:
Post a Comment