Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
show the date
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { var date =DateTime.Now; //Your code goes here Console.WriteLine("Date:"); Console.WriteLine(date.DayOfYear); Console.WriteLine("Day:"); Console.WriteLine(date.DayOfWeek); Console.WriteLine("Month:"); Console.WriteLine(date.Month); Console.WriteLine("Year:"); Console.WriteLine(date.Year); Console.WriteLine("Time:"); Console.WriteLine(date.TimeOfDay); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
dsfsfsdf
Unsorted array with most occurence
Fórum ➡ Building a List<> with questions and answers, from data in TXT file, using LINQ ♦
Split and Join
іфи
Armstrong
megha
ARM
07-05-20
масиви форіч
Please log in to post a comment.