Calendar Property

Microsoft Visual Basic Constants

Calendar Property

           

Returns or sets a value specifying the type of calendar to use with your project.

You can use one of two settings for Calendar:

Setting Value Description
vbCalGreg 0 Use Gregorian calendar (default).
vbCalHijri 1 Use Hijri calendar.

Remarks

You can only set the Calendar property programmatically. For example, to use the Hijri calendar, use:

Calendar = vbCalHijri