Jump to content

GetGameTimeStamp

From CMM Wiki
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: