| 1 | = GetDateStr = |
| 2 | Get the date |
| 3 | |
| 4 | {{{ |
| 5 | string GetDateStr(void); |
| 6 | |
| 7 | char* GetDateStr(char* pszBuffer); |
| 8 | }}} |
| 9 | |
| 10 | == Parameters == |
| 11 | |
| 12 | * pszBuffer - buffer to hold formatted time, application must insure that this buffer is large enough. |
| 13 | |
| 14 | == Return Value == |
| 15 | |
| 16 | * Returns the date formatted as "MM/DD/YYYY" or "DD/MM/YYYY", or "YYYY-MM-DD", based on boot loader preferences. |
| 17 | |
| 18 | == Remarks == |
| 19 | |
| 20 | |
| 21 | == Examples == |
| 22 | |
| 23 | {{{ |
| 24 | string strDate = GetDateStr(); |
| 25 | DisplayText(10, 10, strDate); |
| 26 | }}} |
| 27 | |
| 28 | {{{ |
| 29 | char szDate[20]; |
| 30 | GetDateStr(szDate); |
| 31 | DisplayText(10, 10, szDate); |
| 32 | }}} |
| 33 | |
| 34 | == See Also == |
| 35 | |
| 36 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Time/GetTimeStr GetTimeStr] |