"Fri, 02 Jan 1970 10:01:22"

Convert date and time to unixtime.

122482

Another datetime format string at UTC

YYYYMMDD
19700102

Only TIME
10:01:22

General datetime
1970-01-02 10:01:22Z

For Database
1970-01-02 10:01:22

For HTTP1.1
Fri, 02 Jan 1970 10:01:22 GMT


HOME