Genpact Cora Knowledge Center


Working with Time Zones

Cora SeQuence supports working with multiple time zones, which enables organizations that work in distributed time zones to work in a streamlined fashion. Even though Telerik supports time zones, the database stores the UTC for the local server time. An example of this is if you discover that the control displays the February 1, but on the database, it is January 31.

Use this sample code to work with multiple time zones.

<script type="text/javascript">
         var GMTset = false; 
            function DateSelected(sender, args) 
                if (!GMTset) 
                    GMTset = true; 
                    var offset = args.get_newDate().getTimezoneOffset(); 
                    var minutes = args.get_newDate().getMinutes();
                    GMTset = false;