Quote:
Originally Posted by DNSB
A quick look at the numbers posted suggests the last 4 octets are the number of milliseconds since midnight. 04819080 hex translates to 75,600,000 decimal which divided by 3,600,000 (number of milliseconds in an hour) gives 21 (9PM in 24 hour format).
On that basis, to set bedtime to 10:17PM (22:17), we would need the last 4 octets to be 04C80F60 hex so \0\0\0\xf\x4\xc8\xf\x60 would be needed.
|
Just a quick look ey? Gah! You're my hero!! I was mucking around with HEX but couldn't get it, I dismissed the 4 because it's the same in all examples so I thought it wasn't relevant

However, even if I had considered the 4, I still wouldn't have got it
Thank you!