Our server is set for EST and we have some automations that work odd date and time. If today is before x date, do this. We ran into an issue where our date checks are not working as expected. Whats the best way to handle this?
var startDate = new Date(core_v2_widget.GetDateTimeValue('startDate')); var endDate = new Date(core_v2_widget.GetDateTimeValue('endDate')); if( (core_v2_utility.CurrentDate >= startDate) && (core_v2_utility.CurrentDate <= endDate)){