Posts Tagged ‘C#.Net Date Time’

Working with Date and Time in C#.Net

Working with Date and Time in C#.Net

C#.Net provides DateTime structure that offers many useful methods and properties for date and time calculations. The range of DateTime is between 01/01/0001 12:00:00 AM to 31/12/9999 11:59:59 PM. DateTime return various date/time elements: DateTime d1 = DateTime.Now; listBox1.Items.Add("Year\t\t: " + d1.Year); listBox1.Items.Add("Month\t\t: " + d1.Month); listBox1.Items.Add("Day\t\t: " + d1.Day); listBox1.Items.Add("DayOfWeek\t: " +...

Full Post

Copyright © 2017 TechZoo - Technology Blog. All rights reserved.
Proudly powered by WordPress. Developed by 7Tech Solutions