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

Convert date and time to unixtime.

1712010021

Another datetime format string at UTC

YYYYMMDD
20240401

Only TIME
22:20:21

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

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

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


HOME