Added most date functions.