"Tue, 20 Aug 2024 12:50:02"

Convert date and time to unixtime.

1724158202

Another datetime format string at UTC

YYYYMMDD
20240820

Only TIME
12:50:02

General datetime
2024-08-20 12:50:02Z

For Database
2024-08-20 12:50:02

For HTTP1.1
Tue, 20 Aug 2024 12:50:02 GMT


HOME