[SOLVED] The Date of Today

I need the date of today and I’m using Time(“mday”) + Time(“mon”) + Time(“year”) to get it, but I got 3/9/122; and today is 3/10/2022 (with format DD/MM/YYYY).
Why the number is so different?
Should I use another approach?

From the GDevelop Wiki :

Time(“mday”) = day of month
Time(“mon”) = months since January
Time(“year”) = years since 1900

1 Like

I did read it already but only now I’ve grasped the meaning: you need to add 1 to Months and 1900 to Year.


1 Like