Hi!
When saving a Datetime property value and then fetching it there is a diff of one hour. Why? Does the current cultureInfo interfere somehow? This is how we save the value:
var _personService = IoC.Resolve<PersonService>();
var personClone = person.MakeWritableClone();
personClone.Fields.AddOrUpdateValue("datetimeproperty", DateTime.Now); // e.g. 2020-02-25 14:00
using (Solution.Instance.SystemToken.Use())
{
_personService.Update(personClone);
}
And this is how we fetch the value:
var date = currentPerson.Fields.GetValue<DateTime>("datetimeproperty"); // date = 2020-02-25 13:00
Litium version: 7.2.3