"Sat, 12 Oct 2024 05:15:04"

Convert date and time to unixtime.

1728710104

Another datetime format string at UTC

YYYYMMDD
20241012

Only TIME
05:15:04

General datetime
2024-10-12 05:15:04Z

For Database
2024-10-12 05:15:04

For HTTP1.1
Sat, 12 Oct 2024 05:15:04 GMT


HOME