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

Convert date and time to unixtime.

1645222

Another datetime format string at UTC

YYYYMMDD
19700120

Only TIME
01:00:22

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

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

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


HOME