Views:

Description

Returns the date and time given a UTC datetime for the timezone that is set for the requesting user (default), or if specified, for the time zone code provided. The time zone code is an integer; for a full list of timezone codes see https://msdn.microsoft.com/en-us/library/ms912391(v=winembedded.11).aspx).

Signature

LocalTimeFromUtcTime('datetime','timezonecode')

Example 1

LocalTimeFromUtcTime('06/04/2012 21:43') Returns 06/04/2012 23:43

Example 2

LocalTimeFromUtcTime('06/04/2012 21:43', '4') Returns 06/04/2012 13:43

Parameters

Name Type Description Required
fromdate xxxx xxxx xxxx