"Sun, 18 Jan 1970 15:07:51"

Convert date and time to unixtime.

1523271

Another datetime format string at UTC

YYYYMMDD
19700118

Only TIME
15:07:51

General datetime
1970-01-18 15:07:51Z

For Database
1970-01-18 15:07:51

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


HOME