Moved time-related functions from print.c to common.? to avoid future redundancy.
Moved more globally useful functions to common.? to avoid future redundancy.
Refactored day object interface.