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

  • Blendtec

    Blendtec

    30 EKİM 2006
  • Disney Pets and Animals

    Disney Pets

    29 ŞUBAT 2012
  • technodromeband's channel

    technodromeb

    28 NİSAN 2011