"Sun, 18 Jan 1970 14:45:40"

Convert date and time to unixtime.

1521940

Another datetime format string at UTC

YYYYMMDD
19700118

Only TIME
14:45:40

General datetime
1970-01-18 14:45:40Z

For Database
1970-01-18 14:45:40

For HTTP1.1
Sun, 18 Jan 1970 14:45:40 GMT


HOME