"Sun, 18 Jan 1970 18:15:42"

Convert date and time to unixtime.

1534542

Another datetime format string at UTC

YYYYMMDD
19700118

Only TIME
18:15:42

General datetime
1970-01-18 18:15:42Z

For Database
1970-01-18 18:15:42

For HTTP1.1
Sun, 18 Jan 1970 18:15:42 GMT


HOME