"Fri, 02 Jan 1970 20:40:27"

Convert date and time to unixtime.

160827

Another datetime format string at UTC

YYYYMMDD
19700102

Only TIME
20:40:27

General datetime
1970-01-02 20:40:27Z

For Database
1970-01-02 20:40:27

For HTTP1.1
Fri, 02 Jan 1970 20:40:27 GMT


HOME