Description
Returns a date (default UTC) given a set of inputs.The isutc parameter defaults to true if not supplied.
Signature
CreateDate( 'year', 'month', 'day', 'hour', 'minute', 'second', 'millisecond', 'isutc' )
Example 1
CreateDate(2008, 2, 5 ) Returns '2008/02/05' (UTC)
Example 2
CreateDate(2008, 2, 5, 8, 0, 0, 0, false) Returns '2008/02/05 08:00:00:00' (Local)
Parameters
Name | Type | Description | Required |
---|---|---|---|
year | xxxx | xxxx | xxxx |
month | xxxx | xxxx | xxxx |
day | xxxx | xxxx | xxxx |
hour | xxxx | xxxx | xxxx |
minute | xxxx | xxxx | xxxx |
second | xxxx | xxxx | xxxx |
millisecond | xxxx | xxxx | xxxx |