Date?

20 views
Skip to first unread message

Nicolas Couture-Grenier

unread,
Sep 12, 2019, 9:21:45 PM9/12/19
to KeyKit
Hi! Is there a way to print the current date in keykit? Like converting from currtime() to an actual date?

Tim Thompson

unread,
Sep 12, 2019, 10:17:11 PM9/12/19
to Nicolas Couture-Grenier, KeyKit
Hi! Is there a way to print the current date in keykit? Like converting from currtime() to an actual date?

Nothing built-in.   A hacky method would be:

system("time /t > time.txt")
f = open("time.txt","rl")
t = get(f)
print("The time is ",t)

     ...Tim...
Reply all
Reply to author
Forward
0 new messages