"Wed, 21 Jan 1970 20:42:52"

Convert date and time to unixtime.

1802572

Another datetime format string at UTC

YYYYMMDD
19700121

Only TIME
20:42:52

General datetime
1970-01-21 20:42:52Z

For Database
1970-01-21 20:42:52

For HTTP1.1
Wed, 21 Jan 1970 20:42:52 GMT


HOME