C# Örnekleri – Rakamla Verilen Tarihi Yazıya Çevirme

S

Shiva

Veteran
Joined
Jul 31, 2019
Messages
4,067
Reaction score
13,321
Location
Berlin
Selam dostlar ben Shiva, Bilişim bölümü okuyanların işlediği bir konu bu sizlerle paylaşmak istedim belki öğretmenin gözüne girersiniz bu hatırlatmayı yaparak.

1580375669937.png
Görüntümüz budur.


Kodlar ise:
C#:
DateTime tarih = new DateTime(2014, 11, 18);
           string tarihyazi = tarih.ToString("D");
           Console.WriteLine("Tarih :  {0}", tarih);
           Console.WriteLine("Tarih :  {0}", tarihyazi);
           Console.Read();

Console Application Komutlarıdır. kodlardan görüldüğü gibi.

iyi günler
 
SPAM IS FORBIDDEN!
  • SPAMMERS ARE BANNED FROM THE FORUM AND CANNOT USE ANY OF THE CHEATS
  • For example: thanks, thx, very good, asdqwe, working, ty and so on!
  • For example: Writing the same message over and over. thanks, thx and so on!
  • Copying and copying someone else's message is prohibited.
  • It is forbidden to send messages to increase the number of comments on threads that you have no knowledge of.
  • Write your own opinion when commenting!
  • If you see spam message, please let us know with the REPORT button!

Tema düzenleyici

Top Bottom