Version 4 (modified by 7 years ago) ( diff ) | ,
---|
GetDateStr
Get the date
string GetDateStr(void); char* GetDateStr(char* pszBuffer);
Parameters
- pszBuffer - buffer to hold formatted time, application must insure that this buffer is large enough.
Return Value
- Returns the date formatted as "MM/DD/YYYY" or "DD/MM/YYYY", or "YYYY-MM-DD", based on boot loader preferences.
Remarks
This function returns the date information that is in memory based on a previous call to GetLinuxTime() or IsTimeChanged().
Examples
string strDate = GetDateStr(); DisplayText(10, 10, strDate);
char szDate[20]; GetDateStr(szDate); DisplayText(10, 10, szDate);
See Also
Note:
See TracWiki
for help on using the wiki.