Remove functional internal match statements

get_wday() and get_month() were implemented in the
get_time() function. They were moved to separate,
independent functions to improve code modularity.