how to display current time.
-
hi, i am having problem in date time function while i am doing windows application.i am always getting date along with constant time 12:00:00AM.Which i dont want it.i want the exact time .plz give me some idea how can i do this in windows application. THANKS IN ADVANCE.
-
hi, i am having problem in date time function while i am doing windows application.i am always getting date along with constant time 12:00:00AM.Which i dont want it.i want the exact time .plz give me some idea how can i do this in windows application. THANKS IN ADVANCE.
DateTime.Now;
Harvey Saayman - South Africa Software Developer .Net, C#, SQL
you.suck = (you.Occupation == jobTitles.Programmer && you.Passion != Programming)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111 -
hi, i am having problem in date time function while i am doing windows application.i am always getting date along with constant time 12:00:00AM.Which i dont want it.i want the exact time .plz give me some idea how can i do this in windows application. THANKS IN ADVANCE.
-
hi, i am having problem in date time function while i am doing windows application.i am always getting date along with constant time 12:00:00AM.Which i dont want it.i want the exact time .plz give me some idea how can i do this in windows application. THANKS IN ADVANCE.
I'm not sure I understand. DateTime.Now will get the current date and time from the system. If you just want the time part and not the date, then you can use DateTime.TimeOfDay. A good summary of time and Date handling in .NET is at http://dotnetperls.com/datetime-1[^]
CQ de W5ALT
Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software
-
hi, i am having problem in date time function while i am doing windows application.i am always getting date along with constant time 12:00:00AM.Which i dont want it.i want the exact time .plz give me some idea how can i do this in windows application. THANKS IN ADVANCE.
show code! :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
Prolific encyclopedia fixture proof-reader browser patron addict?
We all depend on the beast below.