Break out the Time range functions to their own class.
Console: Cleanup some inconsistencies with Date versus seconds since epoch. Fix minor bugs.