VXAce Event that triggers based on the time and date in real life

Hey there! Here again to ask for help ahaha
My friend's birthday is coming up, and I want to add an event that triggers during a certain irl date to surprise them. Is there any way the game can check the device's time/date? Thank you in advance! Love you all
You can use script calls to check the date.
Here is an example that checks for someone born on the 4th of August (and supposedly 2001) if it's their birthday:

1754321153543.png


Basically you can do this:
Ruby:
t = Time.now #get the current date in system
d = t.day #get the current day of the month
m = t.month #get the current month
y = t.year #get the current year
You can use script calls to check the date.
Here is an example that checks for someone born on the 4th of August (and supposedly 2001) if it's their birthday:

View attachment 346645

Basically you can do this:
Ruby:
t = Time.now #get the current date in system
d = t.day #get the current day of the month
m = t.month #get the current month
y = t.year #get the current year
Ooh thank you so much! ❤❤ I'll try it out! : DD

Original thread: https://forums.rpgmakerweb.com/threads/event-that-triggers-based-on-the-time-and-date-in-real-life.179364/