API Questions on Kentico API.
Version 6.x > API > Daylight Savings View modes: 
User avatar
Member
Member
Nesfuratu - 3/14/2012 8:28:16 PM
   
Daylight Savings
Hi,

I'm trying to do datetime comparisons using the Site's Datetime. My question is, does the GetSiteDateTime function take into account the site's timezone's daylight savings settings? Or does it only work it out by offsetting the server time? eg. If the server time is -6:00GMT, and my site time's +10:00GMT, does it only return server time + 18 hours?

I'm asking because daylight savings happens on different dates between the Central America (server) and Sydney (site).


User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 3/19/2012 7:51:28 AM
   
RE:Daylight Savings
Hi,

it should be supported in the version 6.0. But please apply the latest hotfix because this functionality was added/fixed in the hotfix. It works with DateTime.Now where daylight saving time is implemented.

Best regards,
Ivana Tomanickova