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

day_from_fixed() public static method

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

		dmy_from_fixed(out day, out month, out year, date);
		return day;
	}

Usage Example

Beispiel #1
0
 public static int GetDayOfMonth(DateTime time)
 {
     return(CCGregorianCalendar.day_from_fixed(CCFixed.FromDateTime(time)));
 }