Remove duplicate date functions, use the cowlib ones instead.