I got unexpected result with the following code (on some PC):
var member = _memberService.GetByKey(identityMember.Key);
var company = _companyService.GetCompanyByPolicyNumber(model.PolicyNumber.Trim());
member.SetValue("validUntil", company.ValidUntil);
_memberService.Save(member);
where company.ValidUntil is DateTime.
Saved result is one century ealiyer (27/05/1930 instead of 27/05/2030 ).
How it could be?
IContentBase.SetValue problem with DateTime
Hi
I got unexpected result with the following code (on some PC):
where company.ValidUntil is DateTime. Saved result is one century ealiyer (27/05/1930 instead of 27/05/2030 ). How it could be?
Thanks in advance!
is working on a reply...