Simple date-handling enhancement