This commit is contained in:
nik gaffney 2018-05-11 21:14:40 +02:00
parent c42fcc5bcd
commit 6547ef0a08
1 changed files with 3 additions and 1 deletions

View File

@ -22,11 +22,13 @@ s.boot;
// time of day - see AppClock for scheduling
~now=Date.gmtime;
// dont trust the clock if it's n 1970 (not ntp synced)
if ( ~now.year == 1970,
{"previously".postln;},
{"post 1970".postln;}
)
);
~now.hour.postln;