"Fri, 02 Jan 1970 12:01:42"

Convert date and time to unixtime.

129702

Another datetime format string at UTC

YYYYMMDD
19700102

Only TIME
12:01:42

General datetime
1970-01-02 12:01:42Z

For Database
1970-01-02 12:01:42

For HTTP1.1
Fri, 02 Jan 1970 12:01:42 GMT


HOME