I’d like to get the time to make a clock, it this a good code for that?
I’m wondering is that ok to make a Date object every second. Please let me know if you know more efficient way.
Routine {
inf.do({ arg count;
a = Date.getDate;
(a.minute+": ").post;
a.second.postln;
1.wait;
});
}.play;