SORU
11 Ocak 2011, Salı


Nasıl C ayın son günü alabilir miyim#?

Nasıl C ayın son günü bulabilirim#?

CEVAP
11 Ocak 2011, Salı


Bunu yapmanın başka bir yolu:

DateTime today = DateTime.Today;
DateTime endOfMonth = new DateTime(today.Year, 
                                   today.Month, 
                                   DateTime.DaysInMonth(today.Year, 
                                                        today.Month));

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:
C#

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Google Chrome

    Google Chrom

    1 EYLÜL 2008
  • o0oCyrusViruso0o

    o0oCyrusViru

    11 Mart 2008
  • Shanice Caruthers

    Shanice Caru

    27 EKİM 2011