"Tue, 20 Jan 1970 20:42:15"

Convert date and time to unixtime.

1716135

Another datetime format string at UTC

YYYYMMDD
19700120

Only TIME
20:42:15

General datetime
1970-01-20 20:42:15Z

For Database
1970-01-20 20:42:15

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


HOME