System.Globalization.CCGregorianCalendar.month_from_fixed C# (CSharp) Method

month_from_fixed() public static method

A method computing the Gregorian month from a fixed day number.
public static month_from_fixed ( int date ) : int
date int An integer specifying the fixed day number. ///
return int
	public static int month_from_fixed(int date) {
		int month, year;

		my_from_fixed(out month, out year, date);
		return month;
	}

Usage Example

Example #1
0
 public static int GetMonth(DateTime time)
 {
     return(CCGregorianCalendar.month_from_fixed(CCFixed.FromDateTime(time)));
 }