View Single Post
Old 06-18-2018, 05:51 PM   #570
Mrs_Often
Wizard
Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.
 
Mrs_Often's Avatar
 
Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
Quote:
Originally Posted by DNSB View Post
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!

Last edited by Mrs_Often; 06-19-2018 at 03:22 AM.
Mrs_Often is offline   Reply With Quote