:: Home >>

setTextTimezone

Sets the timezone for the output text.

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

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

24 Jan 08
setTextTimezone Florin (1)

Comments will appear on this page and in the main forum.

Documentation:

Recent changes:

2.5.0 - 2.5.2
2.5.2
2.5, 2.5.1
2.5.1
2.5
Release History
2.5
2.0.2
textToValue
textToData