DateConvert

Converts local time to Coordinated Universal Time (UTC), or UTC to local time.

The function uses the daylight savings settings in the executing computer to compute daylight savings time, if required.

Method Signature

DateConvert(conversionType=[string], date=[any])

Arguments

Argument
Type
Required
Description
Default

conversionType

string

true

The conversion type. Valid values are "utc2Local" and "local2Utc".

date

any

true

The date to convert.

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC