Game Development Community

Date and Time function?

by Aaron Goselin · in Torque Game Builder · 02/11/2007 (5:09 am) · 5 replies

Is there a date and time function in TorqueScript? I've been searching all over but I can't find it. If there is no function to get the date and time from the system, is there some other solution (other than using an HTTPObect)? I've noticed that there is a function to get the time but there is no way that I can see to extract the date from this :)

#1
02/11/2007 (6:34 am)
As far as I know, there are no such functions in Torque. I don't know why.
#2
02/11/2007 (6:44 am)
It is there in the engine but you can't access it via script.

Aun.
#3
02/11/2007 (6:49 am)
Heh maybe I should make a post in the suggestions forum then. I haven't used C++ since college but I guess I could add it in myself after looking up C++ syntax again heh...but I'd really rather not have to do that. Anyone who reads this, have you already modded this into your engine? Could you share your code? :)
#4
02/11/2007 (6:51 am)
I was going to post the code but then I saw you posting this in a TGB scripting forum.

I'm not sure if this is a proper forum to post the engine code.


Aun.
#5
02/11/2007 (6:56 am)
Well, if you were to post the code in the proper forum, and then link to your post, I think that would be permissable.