"Tue, 20 Jan 1970 02:46:42"

Convert date and time to unixtime.

1651602

Another datetime format string at UTC

YYYYMMDD
19700120

Only TIME
02:46:42

General datetime
1970-01-20 02:46:42Z

For Database
1970-01-20 02:46:42

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


HOME