"Sun, 18 Jan 1970 21:42:28"

Convert date and time to unixtime.

1546948

Another datetime format string at UTC

YYYYMMDD
19700118

Only TIME
21:42:28

General datetime
1970-01-18 21:42:28Z

For Database
1970-01-18 21:42:28

For HTTP1.1
Sun, 18 Jan 1970 21:42:28 GMT


HOME