Is there a way to get the system's current date and time?

i mean i could just ask for the time and date every time a player boots the game but that would get tedius.
@richard
(also i dont mean hardware browser only)

2 Likes

Interesting thought. Arcade hardware would have no concept of “current date and time,” but it sounds like something that could be wedged into the fancy new browser-events extension.

2 Likes

No, because the hardware doesn’t support it. You could create a server and ask it with the websocket extension, but I don’t think that’s worth it.

New browser events sounds cool! Looking forward to this update!

1 Like

yeah i assumed it wasn’t possible with hardware, but yeah i really hope its a new feature in the new extension that would be so nice!

1 Like

i never thought about using websocket for it! honestly thats a great idea! (not only for time stuff but for other aspects such as multiplayer ofc)

1 Like

I’ve never looked at that extension. Seems like you could do a lot of cool stuff, like collect poll responses and stuff. Someone could definitely look at the code though, so you would have to do a lot of security stuff on the other end to make sure no one does bad stuff to your server.

1 Like

i actually added this to the browser-events extension (currently in beta) a few weeks ago.

here’s an example beta project. as always, I recommend opening that beta link in a different browser or an incognito window

5 Likes