System.Globalization.CCGregorianCalendar.GetMonth C# (CSharp) Метод

GetMonth() публичный статический Метод

The method gives the number of the month of the specified date.
public static GetMonth ( System time ) : int
time System The /// that specifies a /// date. ///
Результат int
	public static int GetMonth(System.DateTime time) {
		return month_from_fixed(CCFixed.FromDateTime(time));
	}

Usage Example

Пример #1
0
 /// <summary>Returns the month in the specified <see cref="T:System.DateTime" />.</summary>
 /// <returns>An integer from 1 to 12 that represents the month in the specified <see cref="T:System.DateTime" />.</returns>
 /// <param name="time">The <see cref="T:System.DateTime" /> to read. </param>
 public override int GetMonth(DateTime time)
 {
     return(CCGregorianCalendar.GetMonth(time));
 }
All Usage Examples Of System.Globalization.CCGregorianCalendar::GetMonth