"Tue, 06 Jan 1970 19:42:20"

Convert date and time to unixtime.

502940

Another datetime format string at UTC

YYYYMMDD
19700106

Only TIME
19:42:20

General datetime
1970-01-06 19:42:20Z

For Database
1970-01-06 19:42:20

For HTTP1.1
Tue, 06 Jan 1970 19:42:20 GMT


HOME