The Datetime field might render the date and time in UTC instead of the server time zone. The issue occurs in the Edit and Preview modes of the Experience Editor, and on web pages.
To resolve the issue:
Alternatively, you can disable the following processor (defined in the Sitecore.ExperienceEditor.config file) by creating a configuration patch file in the \App_Config\Include\zzz folder:
<processor type="Sitecore.ExperienceEditor.Pipelines.RenderField.FormatDateFieldValue, Sitecore.ExperienceEditor" />
Note that if this processor is disabled, the date and time format preferences will be ignored in the Edit and Preview modes of the Experience Editor.