"Tue, 20 Feb 2024 20:15:04"

Convert date and time to unixtime.

1708460104

Another datetime format string at UTC

YYYYMMDD
20240220

Only TIME
20:15:04

General datetime
2024-02-20 20:15:04Z

For Database
2024-02-20 20:15:04

For HTTP1.1
Tue, 20 Feb 2024 20:15:04 GMT


HOME