"Tue, 20 Aug 2024 01:05:02"

Convert date and time to unixtime.

1724115902

Another datetime format string at UTC

YYYYMMDD
20240820

Only TIME
01:05:02

General datetime
2024-08-20 01:05:02Z

For Database
2024-08-20 01:05:02

For HTTP1.1
Tue, 20 Aug 2024 01:05:02 GMT


HOME