Page MenuHomeFeedback Tracker

[Feature Request] Command to get current OS date/time
New, WishlistPublic

Description

I know this can be done using extensions (hence http://killzonekid.com/arma-extension-real_date-dll-v3-0/) ... but it's such a simple operation, that it seems weird there is no built-in command for it.

Ideally the command should give you the OS date/time of the machine where it was run (client or server).

Details

Legacy ID
1352523088
Severity
None
Resolution
Open
Reproducibility
Always
Category
Feature Request

Event Timeline

micovery edited Steps To Reproduce. (Show Details)Dec 30 2014, 8:01 AM
micovery edited Additional Information. (Show Details)
micovery set Category to Feature Request.
micovery set Reproducibility to Always.
micovery set Severity to None.
micovery set Resolution to Open.
micovery set Legacy ID to 1352523088.May 7 2016, 8:02 PM

The good news is that there is such command already https://community.bistudio.com/wiki/missionStart

The bad news is that it is broken

I see, thanks for the reference. I guess then If I want the current real-time, I would do something like:

missionStart + diag_tickTime

(obviously doing the correct date-math)

However, since for this ticket I am asking for a command the get the current time, it would be nicer if there was something like:

diag_epochTime

that would return the number of seconds since epoch.

missionStart should be fixed in Monday DEV