"Sat, 17 Jan 1970 20:42:40"

Convert date and time to unixtime.

1456960

Another datetime format string at UTC

YYYYMMDD
19700117

Only TIME
20:42:40

General datetime
1970-01-17 20:42:40Z

For Database
1970-01-17 20:42:40

For HTTP1.1
Sat, 17 Jan 1970 20:42:40 GMT


HOME