CodeCharge Studio

CurrentDate Run-Time Variable (ColdFusion)

Applies to

Calendar Form

Type

date

Access

read/write

Syntax

<CFSET CurrentDate [= value]>

Description

Specifies the date shown in the calendar. For example, for the Monthly calendar the date can be any date of this month.

Note: The value of this property can be modified in the Page's Before Show event.

Examples

The following example shows how to make the calendar always show January 2012.

<CFSET CurrentDate = CreateDate(2012, 1, 1)>


On-line, printable versions and updates