"Fri, 02 Jan 1970 09:22:02"

Convert date and time to unixtime.

120122

Another datetime format string at UTC

YYYYMMDD
19700102

Only TIME
09:22:02

General datetime
1970-01-02 09:22:02Z

For Database
1970-01-02 09:22:02

For HTTP1.1
Fri, 02 Jan 1970 09:22:02 GMT


HOME