Ah, gotcha!

This either returns 0 (even) or 1 (odd).
Originally Posted by maroon
//echo -a $calc( ($ctime // 60) % 2) => $asctime

And this gives you the last digit for minute.
Originally Posted by maroon
//echo -a $calc( ($ctime // 60) % 10) => $asctime


Thanks @maroon!


Find Gamers, my player finder for tabletop RPGers and Wargamers.