Calendar.TwoDigitYearMax : Calendar « System.Globalization « C# / C Sharp by API






Calendar.TwoDigitYearMax

 

    using System;
    using System.Globalization;

  class Class1
  {
    static void Main(string[] args)
    {
      Calendar MyCalendar = new  GregorianCalendar();
      CultureInfo MyCulture = new CultureInfo("es-ES");
      DateTime MyDate = new DateTime(2006,8,22,15,30,0,0);

      Console.WriteLine(MyCalendar.TwoDigitYearMax);
    }
  }

   
  








Related examples in the same category

1.Calendar.AddMinutes
2.Calendar.ToDateTime
3.Calendar.ToFourDigitYear