$var=time/24*60*60; print $var%2 ? "odd\n" : "even\n"; [download]
In reply to odd or even day? by jondkent