All pages
Powered by GitBook
1 of 1

createDate

Overload to creatDateTime behavior to account for ACF/Lucee specific manipulations ( e.g.

converting non-century years to current century )

Method Signature

createDate(year=[integer], month=[integer], day=[integer], hour=[integer], minute=[integer], second=[integer], millisecond=[integer], timezone=[string])

Arguments

Argument
Type
Required
Description
Default

year

integer

false

The year of the date-time object.

0

month

integer

false

The month of the date-time object.

1

day

integer

false

The day of the date-time object.

1

hour

integer

false

The hour of the date-time object.

0

minute

integer

false

The minute of the date-time object.

0

second

integer

false

The second of the date-time object.

0

millisecond

integer

false

0

timezone

string

false

Examples

Related

  • LSWeek

  • LSDayOfWeek

  • LSIsDate

  • DateCompare

  • GetHTTPTimestring

  • LSDateTimeFormat

  • LSDateFormat

  • LSTimeFormat

  • DayOfWeekAsString

  • DayOfWeekShortAsString

  • MonthAsString

  • MonthShortAsString

  • ToLegacyDate

  • LSParseDateTime

  • DateTimeFormat

  • DateFormat

  • TimeFormat