{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

TimeWithTimeZoneOffset

This function will assume that the time passed is a time of sourceTimeZone. It will then add the difference between the time zone destinationTimeZone

Usage:

TimeWithTimeZoneOffset( time, sourceTimeZone, destinationTimeZone )

Parameters:

time The time value of time zone sourceTimeZone which should be changed to the value of the time zone destinationTimeZone.
sourceTimeZone The time zone identifier for the time passed. Such as 'CET', 'GMT'. The general format is like this: 'GMT[+ -]hours[:minutes]' e.g. 'GMT+12'. You can find the ID's here.
destinationTimeZone The time zone identifier for the time which should be returned.

Returns:

Time

TimeZone and sourceTimeZone to the passed time. The returned time will then have the value for desinationTimeZone

Examples:

We assume that we have a time value like this: 11:24:56 AM in Central European Time (CET). Now we want to know what the time value is for Greenwich Mean Time (GMT). So we create the following function:

TimeWithTimeZoneOffset( time(11,24,56), 'CET', 'GMT')
-> Returns the time value as 10:24:56 AM as we
		have one hour difference between
Central European Time (CET)and
		Greenwich Mean Time (GMT).

See also:

i-net Clear Reports
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - TimeWithTimeZoneOffset