DateTime():toISOString()
Renvoie la chaîne de date au format ISO 8601 (par ex., « 1970-01-01T00:00:00.000Z »).
Signature
toISOString(): string
Renvoie
- Type :
string - La chaîne de date au format ISO 8601.
Exemples
local now = DateTime()
local isoString = now:toISOString()
toast("ISO String: " .. isoString) -- e.g., "2024-01-15T10:30:00.000Z"