on my computer, I get 1249821101, but on the ds it shows 1249795886. (~25000 seconds difference)
but when I do:
Code: Select all
time_t ut = time(NULL);
tm* z = localtime(&ut);
printf("%d:%d:%d", z->tm_hour, z->tm_min, z->tm_sec);
using libnds 1.3.7 and devkitARM r25.