|
resonance 1.0.1
|
Go to the source code of this file.
Functions | |
| bool | FormatCurrentDateTime (HxStr &text) |
| Write the console's local date and time as "MM/DD/YY, HH:MM". | |
| bool FormatCurrentDateTime | ( | HxStr & | text | ) |
Write the console's local date and time as "MM/DD/YY, HH:MM".
The clock is read with sceCdReadClock() and converted to local time. Each field is written as the two decimal digits of its BCD byte. The day precedes the year and follows the month, in the United States order. text is replaced, not appended to. A failed read or a clock whose status byte is non-zero writes nothing.
| text | Receives the date and time. |