Exemple d’utilisation de la méthode ‘ToFourDigitYear(int annee)’

Author:


{filelink=19640}

    using System;
    using System.Globalization;

  class DateDigit
  {
    static void Main(string[] args)
    {
      Calendar calendrier = new  GregorianCalendar();

      Console.WriteLine(calendrier.ToFourDigitYear(64));

        Console.WriteLine(calendrier.ToFourDigitYear(28));
    }
  }

Leave a Reply

Your email address will not be published. Required fields are marked *