"Sun, 04 Jan 1970 12:31:42"

Convert date and time to unixtime.

304302

Another datetime format string at UTC

YYYYMMDD
19700104

Only TIME
12:31:42

General datetime
1970-01-04 12:31:42Z

For Database
1970-01-04 12:31:42

For HTTP1.1
Sun, 04 Jan 1970 12:31:42 GMT


HOME