DateTime
-
I want to get the system dateTime. So that I could get the year alone, the month alone, the day alone, the hour alone, the minute alone and the second alone. Then convert or Parse each one to int and put them inside this Datetime. DateTime dt = new DateTime(int year, int month, int day, int hour, int minute, int second); How can I do this please? Thankx for your help a lot...
-
I want to get the system dateTime. So that I could get the year alone, the month alone, the day alone, the hour alone, the minute alone and the second alone. Then convert or Parse each one to int and put them inside this Datetime. DateTime dt = new DateTime(int year, int month, int day, int hour, int minute, int second); How can I do this please? Thankx for your help a lot...
Isn't that what DateTime.Now is returning ? I fail to see the Vista connection... :)
Luc Pattyn
try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }
-
Isn't that what DateTime.Now is returning ? I fail to see the Vista connection... :)
Luc Pattyn
try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }
First of all thank you for replying. From these variables I want just the year, month and time without the other variables.So that I could insert these variables from the system date and the othher variables will be inserted by me. I will be glade to be answered.
-
First of all thank you for replying. From these variables I want just the year, month and time without the other variables.So that I could insert these variables from the system date and the othher variables will be inserted by me. I will be glade to be answered.
So what you got to do is read the documentation on DateTime and everything will be revealed. :)
Luc Pattyn
try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }
-
So what you got to do is read the documentation on DateTime and everything will be revealed. :)
Luc Pattyn
try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }
-
I want to get the system dateTime. So that I could get the year alone, the month alone, the day alone, the hour alone, the minute alone and the second alone. Then convert or Parse each one to int and put them inside this Datetime. DateTime dt = new DateTime(int year, int month, int day, int hour, int minute, int second); How can I do this please? Thankx for your help a lot...
This is a Windows Vista specific forum. What does your question have to do with it? Post question in correct forum, in this case, C# forum...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
-
Thank you again for your help, but one more question where can I find the documentation to install it because I don't have it. My best regards...
Hi, MSDN documentation is part of the Visual Studio distribution; IIRC you must check one more checkbox in order to get it included in your installation and it is available at http://msdn2.microsoft.com[^] :)
Luc Pattyn
try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }
-
Isn't that what DateTime.Now is returning ? I fail to see the Vista connection... :)
Luc Pattyn
try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }
Even if there is a vista connection, programming questions belong in the programming forums.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001