timing
This commit is contained in:
parent
c42fcc5bcd
commit
6547ef0a08
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue