Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Commerce Manager was removed in Commerce 14 (which is compatible to CMS 12) so any features were removed. If you really need the functionality, here's how the code was written
protected void GetDaylightSavingsOffsets(out int offset_dt, out int offset_st)
{
offset_dt = Convert.ToInt32(new DateTimeOffset(DateTime.Now).Offset.TotalHours);
offset_st = DateTime.Now.IsDaylightSavingTime() ? offset_dt - 1 : offset_dt;
}
Hi All,
I need to use the GetDaylightSavingsOffsets() method, we're currently doing a migration from Opti10 to Opti12 .net core but that method does not longer exist in the Mediachase.Commerce. Does anyone know if the method exist in other namespace? Or doesn't the method exist anymore? If the method is no longer available does anyone else was able to replace the method with another one or does exist a workaround to replace its funcionality?
Any help is really appreciate it.
Thanks in advance,