View Single Post
Old 06-18-2018, 05:11 PM   #569
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,160
Karma: 169815798
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Mrs_Often View Post
Oh yes of course how stupid of me, I now remember I saw that line too ... except errr


EDIT:
9pm:
(\0\0\0\xf\x4\x81\x90\x80)
9:30pm:
(\0\0\0\xf\x4\x9d\a\xc0)
10pm:
(\0\0\0\xf\x4\xb8\x7f\0)
10:30pm:
(\0\0\0\xf\x4\xd3\xf6@)

hmmmmmmm
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.
DNSB is offline   Reply With Quote