"Tue, 20 Aug 2024 15:20:01"

Convert date and time to unixtime.

1724167201

Another datetime format string at UTC

YYYYMMDD
20240820

Only TIME
15:20:01

General datetime
2024-08-20 15:20:01Z

For Database
2024-08-20 15:20:01

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


HOME