"Fri, 02 Jan 1970 18:15:17"

Convert date and time to unixtime.

152117

Another datetime format string at UTC

YYYYMMDD
19700102

Only TIME
18:15:17

General datetime
1970-01-02 18:15:17Z

For Database
1970-01-02 18:15:17

For HTTP1.1
Fri, 02 Jan 1970 18:15:17 GMT


HOME