Added date functions to util.