GetDayOfYear( ) method.
-
Hi, Just wondering if GetDayOfYear method of the Calendar Class returns something which is equivalent to the Julian date?? Please do suggest. Thanks, ~~~~~~~~~~~~~~~~~~~~~~~~ Shravan Addaypally .NET Apps Developer BellSouth Billing Inc. Birmingham, AL 35205 ~~~~~~~~~~~~~~~~~~~~~~~~
-
Hi, Just wondering if GetDayOfYear method of the Calendar Class returns something which is equivalent to the Julian date?? Please do suggest. Thanks, ~~~~~~~~~~~~~~~~~~~~~~~~ Shravan Addaypally .NET Apps Developer BellSouth Billing Inc. Birmingham, AL 35205 ~~~~~~~~~~~~~~~~~~~~~~~~
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationcalendarclassgetdayofyeartopic.asp[^] The day of the year is defined as the number of days from the first day of the year. For example, in GregorianCalendar, GetDayOfYear for January 1 returns 1, and GetDayOfYear for December 31 returns 365 in a common year or 366 in a leap year. If you look at the code snippets, it appears that you can specify the type of calendar (e.g., JulianCalendar). This doesn't answer your question directly, but I hope it helps.
Jon Sagara If you've ever watched 6-year-olds playing soccer, that's what the mainstream media is like. -- Jon Stewart
My Articles