إذا كنت تستخدم فيبي 2005 و تريد استخدام تقويم أم القرى هناك الكلاس الجديد
كود PHP:
System.Globalization.UmAlQuraCalendar
كود PHP:
Dim umq As New System.Globalization.UmAlQuraCalendar
Dim gregDate As Date = Date.Now
Dim hijDay As Integer = umq.GetDayOfMonth(gregDate)
Dim hijMonth As Integer = umq.GetMonth(gregDate)
Dim hijYear As Integer = umq.GetYear(gregDate)
Dim hijFull As String = hijDay.ToString + "/" + hijMonth.ToString + "/" + hijYear.ToString
Me.Label2.Text = hijFull