Getting system time/ date
by Shane · in Torque Game Builder · 10/02/2009 (1:35 pm) · 6 replies
Is there a method in the TGB to get the current date on the system and time?
Thanks.
Shane
Thanks.
Shane
#2
patrick, i sometimes wish the GG site really did have an ignore user feature.
10/02/2009 (1:42 pm)
shane, a quick search suggests that it's not natively possible to get the system time from script in TGB, but if you have access to the source then it's easy enough to expose to script. search "system time".patrick, i sometimes wish the GG site really did have an ignore user feature.
#3
10/02/2009 (1:51 pm)
Ha ha ha @ patrick brat. And hmm no wayt o get the system time without touching the source that is a bummer... if I get the guts to do it i might attempt it, that or the end user can just deal with using the file creation date of the output file as the date value they need...
#4
10/02/2009 (1:55 pm)
Sorry to upset you Orion, just razing Shane a bit. Feel free to ignore me regardless.
#5
www.garagegames.com/community/resources/view/13998
10/02/2009 (3:52 pm)
Maybe you can modify this?www.garagegames.com/community/resources/view/13998
#6
http://tdn.garagegames.com/wiki/TorqueScript_Console_Functions_19#getRealTime.28.29
It gets you the system time in milliseconds... I'm not sure if that'd be useful to you.
11/21/2009 (9:29 pm)
Maybe this:http://tdn.garagegames.com/wiki/TorqueScript_Console_Functions_19#getRealTime.28.29
It gets you the system time in milliseconds... I'm not sure if that'd be useful to you.
Torque Owner RollerJesus
Dream. Build. Repeat.
loser. ignored.