The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

0 votes


I'm a beginner here and I'm currently have a project where I need to add a real time calendar in the game. I've been searching for any tutorial but I just haven't found the right one for me. It'd be great if someone could explain it in detail. Or maybe if you know some good tutorials, you could link it

Thank you!

(n). English is not my first language, sorry for the error

in Engine by (17 points)

You probably need to explain more about your requirements. What exactly do you mean when you say real time calendar? For example, are you looking for a replica of a typical paper calendar that shows all of the days of the month, just a "current date/time" based on the system clock, or something else entirely?

A well defined question will tend to get you more useful input.

First of all thank you for the comment and yes it's kind of like a replica of a typical calendar!

1 Answer

0 votes

Well you can fetch the real time date using Godot's Time singleton:

Then just call the methods into your process.

by (39 points)

thank you for the answer!

anyway do you know how to make it so that the button of the current date highlighted in a different color than the other?

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.