Extra Date and Time Functions for 5.9 Games #1557
Closed
KVonGit
started this conversation in
Libraries and Code Samples
Replies: 1 comment
-
The month is incorrect. I will reopen this when (if) I fix that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The above works with Quest 5.9's built-in
CurrentDateUTC
function.To get the local time, we can use the JS
ASLEvent
function to send data to Quest:Add these for handling the code added to
game.inituserinterface
:I plan to add more functions to return the date and/or time as strings, and probably a few from the ClockLib library (like
IsLaterThan(time)
, etc).Beta Was this translation helpful? Give feedback.
All reactions