Game Development Community

Getting the current date?

by Vern Jensen · in Torque Game Builder · 09/18/2008 (5:05 pm) · 1 replies

I did a quick search in the documentation for "Date" but nothing came up. I'm sure there is some simple built-in function for getting the current date (day/month/year), but I don't know where to look.

-Vern

#1
09/18/2008 (10:37 pm)
You probably want to look at Platform::getTime or Platform::getLocalTime. These are not currently exposed to script but wouldn't be hard to do.