A command which would get the time and date of the machine it was executed on would be very handy.
It would allow us to create histories and save data with time and date similar to the load mission interface of Eden Editor.
A command which would get the time and date of the machine it was executed on would be very handy.
It would allow us to create histories and save data with time and date similar to the load mission interface of Eden Editor.
Status | Assigned | Task | ||
---|---|---|---|---|
Resolved | None | T148721 Uneccessary separator in configFile >> "Display3DEN" >> "Controls" >> "MenuStrip" >> "Items" >> "Attributes" >> "items" | ||
Resolved | dedmen | T150204 Add command to get machine time and date |
Additional request, make it a function that returns unix time that can accept parameters to format it to certain date formats and allow a local and UTC parameter
Would be great if systemTime accepted time offset argument so we can easily display server time. The idea is following: Get how much your time is offset from the server and feed the number of hours as arguments into the command. Yes, you can calculate all that with SQF, but when you need to display timer constantly, this eats a bit of CPU time when it could be handled by the engine very efficiently.
<Array> = systemTime <Number>
Perhaps a command to return current UTC time zone offset to make it even more streamlined?
<Number> = timeZoneUTC
Other possible applications: