See also
GetTimeZoneInfo, CreateDateTime, DatePart
Parameters
Parameter
|
Description
|
---|
conversion-type
|
- local2Utc: Converts local time to UTC time.
- utc2Local: Converts UTC time to local time.
|
date
|
Date and time string or a variable that contains one. To create, use CreateDateTime.
|
Usage
When passing a date/time object as a string, enclose it in quotation marks. Otherwise, it is interpreted as a numeric representation of a date/time object.
You can pass the CreateDate or Now function as the date parameter of this function; for example: #DateConvert(CreateDate(2007, 4, 10))#
|
Example