How to use IsLeapYear method ?

P

prosoft

When I do

Dim s As String = (myDTFI.GetMonthName(i))

how do I know if the month name is correct because in a leap
year it's different ?
 
J

Jay B. Harlow [MVP - Outlook]

Scott,
Because the Hebrew calendar has a Leap month in addition to a Leap day.
Hence a Leap Year has an extra month & day, where as in a Gregorian calendar
(US) a Leap Year only has a Leap Day (Feb 29th).

As far as I can tell the problem is this year is NOT a leap year in the
Hebrew Calendar, at least System.Globalization.HebrewCalendar does not think
it is. I don't know enough about the Hebrew Calendar to know if this year is
or not.

Hope this helps
Jay
 
P

prosoft

This year is not leap, see my answer to your other reply in the
thread just below.

Thanks
prosoft
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top