IsTimeChanged
Checks whether the time is on a new second
bool IsTimeChanged(void);
Parameters
This function does not accept any parameters.
Return Value
- Returns true if the time is at a new second, or false if the time is still on the same second as the last time IsTimeChanged was called.
 
Remarks
When a new second is detected this function populates the g_datetime structure so that calls to GetTimeStr and GetDateStr will return the current time and date.
Examples
if(IsTimeChanged()) { DisplayText(0, 0, GetDateStr()); DisplayText(0, 30, GetTimeStr(1)); }
See Also
          
            Last modified
 8 months ago          
          
            Last modified on 03/12/25 07:42:55
          
        
      
  Note:
 See   TracWiki
 for help on using the wiki.
    ![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)