But why how exactly is it stored in 3 bytes?
That's what I'm trying (javascript):
var seconds = ((new Date()).getTime() - (new Date('January 1, 2000 00:00:00')).getTime()) / 1000;
var date = new Uint8Array(a, 0x7B, 3);
date[2] = seconds >> 0 & 0xFF;
date[1] = seconds >> 8 & 0xFF;
date[0] = seconds >> 16 & 0xFF;
Or, if the date is 111111111111111111111111
I write it this way:
0x7B 11111111
0x7C 11111111
0x7D 11111111
But according to Pokesav today is 14 of thirteenth month, 2193...