DateConvert()

Converts a date to the given locale

Usage

DATE = DateConvert( conversion, date )
Argument Summary
conversion conversion ('local2utc' or 'utc2local')
date date object

Calling

Supports named-parameter calling allowing you to use the function like:

DateConvert(
   conversion=?, 
   date=?
);

Supports passing parameters as a structure using ArgumentCollection:

DateConvert( ArgumentCollection={
   conversion : ?, 
   date : ?
} );