EJSC.DateFormatter.timezoneOffset

See Also

Top  Previous  Next

 

Definition

 

integer timezoneOffset = undefined

 

Description

 

Used in conjunction with useUTC, this property may be used to display dates in the specified time zone.  The timezoneOffset property is set by specifying the number of minutes (positive or negative) to offset the given time.

 

Example

 

>> Display times in Eastern Standard Time (EST)

 

var chart = new EJSC.Chart("myChart");

   chart.axis_bottom.formatter = new EJSC.DateFormatter({

               format_string: "HH:NN:SS",

               useUTC: true,

               timezoneOffset: -300

   });