CodeCharge Studio

CurrentDate Run-Time Property (PHP)

Applies to

Calendar Form

Type

array

Access

read/write

Syntax

object->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 After Initialize event.

Examples

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

$Format = array("yyyy", "-", "mm", "-", "dd");
$Date = CCParseDate("2012-01-01", $Format);
$Calendar1->CurrentDate = $Date;


On-line, printable versions and updates