CreateDate
Creates a date-time object.
Note that the core implementation of this BIF differs from ACF/Lucee in handling of a year value without a century. BoxLang respects that pre-first century years are valid and and will treat createDate( 20 )
as 20 AD. The behavior modification to emulate ACF/Lucee would require the installation of the bx-compat
module.
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The year of the date-time object. |
|
|
|
| The month of the date-time object. |
|
|
|
| The day of the date-time object. |
|
|
|
| The hour of the date-time object. |
|
|
|
| The minute of the date-time object. |
|
|
|
| The second of the date-time object. |
|
|
|
|
| |
|
|
|
Examples
Related
Last updated