Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

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


{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));
    }
  }

No comments yet.

Leave a Comment