"Tue, 20 Jan 1970 00:02:50"

Convert date and time to unixtime.

1641770

Another datetime format string at UTC

YYYYMMDD
19700120

Only TIME
00:02:50

General datetime
1970-01-20 00:02:50Z

For Database
1970-01-20 00:02:50

For HTTP1.1
Tue, 20 Jan 1970 00:02:50 GMT


HOME