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

Convert date and time to unixtime.

1726920904

Another datetime format string at UTC

YYYYMMDD
20240921

Only TIME
12:15:04

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

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

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


HOME