Hi folks! Hey, what's the correct date format? Is ...
# general
d
Hi folks! Hey, what's the correct date format? Is it:
Copy code
fromDateTime('2022-02-01', 'YYYY-MM-DD')
or
Copy code
fromDateTime('2022-02-01', 'yyyy-MM-dd')
? And where can I get a comprehensive list of what each format token means?
m
d
Thanks man. But now I'm a bit confused between
yyyy
and
YYYY
, what's the difference between them?
m
seems the same to me
seems the same to me
but
d
means day of month, whereas
D
means day of year!
d
Oh... I guess
y
then could be a negative year, then