setDate correction