CodeCharge Studio

CurrentDate Run-Time Property (ASP)

Applies to

Calendar Form

Type

date

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 Before Show event.

Examples

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

Calendar1.CurrentDate = DateSerial(2005, 1, 1)


On-line, printable versions and updates