Functions responsible for handling date values.