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

Convert date and time to unixtime.

1645202

Another datetime format string at UTC

YYYYMMDD
19700120

Only TIME
01:00:02

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

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

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


HOME