Jump to content

GetGameTimeStamp

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (GetGameTimeStamp – created via PowerShell script (2025-11-11T21:12:47Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: GetGameTimeStamp
Function Description: Retrieves the current game timestamp in YYYY-MM-DD-HH:MM:SS format with exactly 19 characters by combining the date from the absolute timer and the current time of day.
File Location: cmm.timeFunctions.lua
Syntax: CMM.GetGameTimeStamp( )
Return Value: string
Parameters: Name Description
Example: CMM.GetGameTimeStamp()
Example Description: Returns a string such as "2025-04-05-14:30:22" which represents the current date and time in the specified format.
Related Functions:
Notes: