"Mon, 05 Aug 2024 15:50:22"

Convert date and time to unixtime.

1722873022

Another datetime format string at UTC

YYYYMMDD
20240805

Only TIME
15:50:22

General datetime
2024-08-05 15:50:22Z

For Database
2024-08-05 15:50:22

For HTTP1.1
Mon, 05 Aug 2024 15:50:22 GMT


HOME