Aller au contenu

Convertit un horodatage Unix en chaîne de date-heure.

func.from_unixtime(<timestamp>[, <format>])
func.from_unixtime(1704067200)
┌───────────────────────┐
│ '2024-01-01 00:00:00' │
└───────────────────────┘
FROM_UNIXTIME(<timestamp>[, <format>])
SELECT FROM_UNIXTIME(1704067200);
┌─────────────────────┐
│ 2024-01-01 00:00:00 │
└─────────────────────┘