:: Documentation >>

setTextTimezone

Sets the timezone for the output text.

If the output timezone is not specified the dates are converted to the local timezone.

null

Syntax

date.setTextTimezone(offset);

Parameters

offset (number) - timezone offset in milliseconds

Examples

var date = new AW.Formats.Date;
date.setTextTimezone(1*3600000); // GMT+1 hour

See also

setDataTimezone, setTextFormat, setCellFormat methods

Comments

setTextTimezone Florin (1)

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5