"Mon, 01 Apr 2024 22:20:22"

Convert date and time to unixtime.

1712010022

Another datetime format string at UTC

YYYYMMDD
20240401

Only TIME
22:20:22

General datetime
2024-04-01 22:20:22Z

For Database
2024-04-01 22:20:22

For HTTP1.1
Mon, 01 Apr 2024 22:20:22 GMT


HOME