"Fri, 02 Jan 1970 19:40:51"

Convert date and time to unixtime.

157251

Another datetime format string at UTC

YYYYMMDD
19700102

Only TIME
19:40:51

General datetime
1970-01-02 19:40:51Z

For Database
1970-01-02 19:40:51

For HTTP1.1
Fri, 02 Jan 1970 19:40:51 GMT


HOME