"Sun, 04 Aug 2024 00:40:02"

Convert date and time to unixtime.

1722732002

Another datetime format string at UTC

YYYYMMDD
20240804

Only TIME
00:40:02

General datetime
2024-08-04 00:40:02Z

For Database
2024-08-04 00:40:02

For HTTP1.1
Sun, 04 Aug 2024 00:40:02 GMT


HOME