make *timeofday conditional