"Fri, 02 Jan 1970 20:42:58"

Convert date and time to unixtime.

160978

Another datetime format string at UTC

YYYYMMDD
19700102

Only TIME
20:42:58

General datetime
1970-01-02 20:42:58Z

For Database
1970-01-02 20:42:58

For HTTP1.1
Fri, 02 Jan 1970 20:42:58 GMT


HOME