Date and datetime groovy functions.