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

Convert date and time to unixtime.

1724166922

Another datetime format string at UTC

YYYYMMDD
20240820

Only TIME
15:15:22

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

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

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


HOME