"Sun, 18 Jan 1970 09:23:17"

Convert date and time to unixtime.

1502597

Another datetime format string at UTC

YYYYMMDD
19700118

Only TIME
09:23:17

General datetime
1970-01-18 09:23:17Z

For Database
1970-01-18 09:23:17

For HTTP1.1
Sun, 18 Jan 1970 09:23:17 GMT


HOME