Skip to content

Calendar

Returns or sets a value specifying the type of calendar used by the project.

Syntax: Calendar [ = calendartype ]

calendartype
A VbCalendar constant specifying the calendar type.
ConstantValueDescription
vbCalGreg0Gregorian calendar (default).
vbCalHijri1Hijri calendar.

The Calendar property can only be set programmatically. The setting of Calendar affects the string returned by the Date$ property when the calendar is set to Hijri.

Example

This example sets the calendar type to Hijri.

vb
Calendar = vbCalHijri

See Also

twinBASIC and LOGO copyright of "WaynePhillipsEA" author