"Sat, 21 Sep 2024 15:15:04"

Convert date and time to unixtime.

1726931704

Another datetime format string at UTC

YYYYMMDD
20240921

Only TIME
15:15:04

General datetime
2024-09-21 15:15:04Z

For Database
2024-09-21 15:15:04

For HTTP1.1
Sat, 21 Sep 2024 15:15:04 GMT


HOME