"Wed, 21 Jan 1970 19:42:07"

Convert date and time to unixtime.

1798927

Another datetime format string at UTC

YYYYMMDD
19700121

Only TIME
19:42:07

General datetime
1970-01-21 19:42:07Z

For Database
1970-01-21 19:42:07

For HTTP1.1
Wed, 21 Jan 1970 19:42:07 GMT


HOME