"Mon, 26 Feb 2024 20:15:04"

Convert date and time to unixtime.

1708978504

Another datetime format string at UTC

YYYYMMDD
20240226

Only TIME
20:15:04

General datetime
2024-02-26 20:15:04Z

For Database
2024-02-26 20:15:04

For HTTP1.1
Mon, 26 Feb 2024 20:15:04 GMT


HOME