Open the Settings app.
Go to Time & Language -> Date & Time.
Make sure that the date and time are set correctly.
Also, make sure that the Set time automatically option is enabled.