= GetTimeStr = Get the time {{{ string GetTimeStr(int secs); char* GetTimeStr(char* pszBuffer, int secs); }}} == Parameters == * secs - 0 = format time without secs, 1 = include seconds * pszBuffer - buffer to hold formatted time, application must insure that this buffer is large enough. == Return Value == * Returns the time formatted as "HH:MM:SS" or "HH-MM-SS", or "HH:MM x.m.", based on boot loader preferences. Application developers should consider that time string will be longer if preferences are set for 12 hour time. == Remarks == == Examples == {{{ string strTime = GetTimeStr(1); DisplayText(10, 10, strTime); }}} {{{ char szTime[20]; GetTimeStr(szTime, 1); DisplayText(10, 10, szTime); }}} == See Also == * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Time/GetDateStr GetDateStr]