TimeZone CreateUTCTimeZone() Global Method

Returns the UTC TimeZone.

Function Signature

 TimeZone CreateUTCTimeZone()

Parameters

Parameter Type Description

None

Return

Type Description

TimeZone

A TimeZone object based on the UTC time zone.

Technical Details

SBM ModScript version: 11.3.

Example

var tz = CreateUTCTimeZone();
var loc = CreateLocale("en_US");
var t = TimeT(1517620926);
Ext.WriteStream( t.FormatDateText("yyyy-MM-dd hh:mm:ss a", tz, loc ) );

Result:

2018-02-03 01:22:06 AM

Notes

None.

Related Topics

TimeZone