reefbarman
Joined: 08 Jan 2007 Posts: 87 Location: Australia
|
Posted: Tue Jan 09, 2007 12:12 pm Post subject: pspTime struct not helping me |
|
|
Hi everyone,
in my code at the moment im using
| Code: | | sceRtcGetCurrentClockLocalTime(&myTime); |
to store the current time in a pspTime struct.
My problem is that i can print to the screen myTime.day
| Code: | | oslPrintf_xy(11, 4, "%i", myTime.day); |
but when i go to store it in either an int or u16 variable, and then print it out
it only ever prints 0 to the screen, i need to be able to store it in a variable so i can manipulate the numbers and use them for counting etc. but the only variable that is stored is 0, and this is the same for myTime.month, and myTime.year
i cant see what is going on here cause the print perfectly to the screen just using myTime.day |
|