"Tue, 20 Jan 1970 00:40:20"

Convert date and time to unixtime.

1644020

Another datetime format string at UTC

YYYYMMDD
19700120

Only TIME
00:40:20

General datetime
1970-01-20 00:40:20Z

For Database
1970-01-20 00:40:20

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


HOME