"Sun, 21 Jul 2024 05:50:20"

Convert date and time to unixtime.

1721541020

Another datetime format string at UTC

YYYYMMDD
20240721

Only TIME
05:50:20

General datetime
2024-07-21 05:50:20Z

For Database
2024-07-21 05:50:20

For HTTP1.1
Sun, 21 Jul 2024 05:50:20 GMT


HOME