HI, John,
The clock is updated to match your computer’s time every time you connect and transfer something. Always has, but Python gives us access, too 😊. Not sure why your handheld’s clock would be wrong.
BTW: time.time() is the number of seconds since 0:00:00 on 01 Jan 1970 (UTC, formerly GMT), aka, UNIX time. Since time is stored as a 32-bit number, the clock (as well as all other 32-bit clocks) will crash at 03:14 on 19 Jan 2038 since it runs out of bits. Pay attention Mac owners. Windows has a different timekeeping system.
64-bit Unix time will run out on 4 Dec 292,277,026,596 CE.
Happy New Year,
Still John
--
--
To post to this group, send email to tins...@googlegroups.com
To unsubscribe send email to tinspire+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
The tns documents shared by group members are archived at
https://sites.google.com/site/tinspiregroup/classroom-news/welcome-abouttime
---
You received this message because you are subscribed to the Google Groups "tinspire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinspire+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tinspire/1f4e1a0a-d031-4a5a-8a77-04eab6f0d7f1n%40googlegroups.com.
Here’s a program that illustrates all the ticks and time functions that I could find on CXII. There may be more.
Still John
To view this discussion on the web visit https://groups.google.com/d/msgid/tinspire/001201d91c8a%243dc3ffa0%24b94bfee0%24%40optonline.net.
I goofed: draw_text( ) can take s.format() arg:
t = time() - t0
draw_text(10, 190, "Running time: {0:10.6f}s".format(t))
To view this discussion on the web visit https://groups.google.com/d/msgid/tinspire/000001d91cac%24c4a48810%244ded9830%24%40optonline.net.
Handheld (no decimals):
Computer software:
Modified the attached to work on either platform.
To view this discussion on the web visit https://groups.google.com/d/msgid/tinspire/000901d91cca%24071b6e30%2415524a90%24%40optonline.net.