he guys i am working on a program and i trying to show label3 the date of today but i cant find anything on google mayby somewhone can help me
Originally Posted by megasven007
he guys i am working on a program and i trying to show label3 the date of today but i cant find anything on google mayby somewhone can help me
For Date and Time:
Code:
Label3.text = Now
Yea just add a timer enable it and put the code in a timer not in Form Load.And the Timer Integer as 1000 so it releases every second.
Label1.Text = Now in Timer.
Doesn't sound like you wanted time as well so simply put
Label3.Text = Now.Date
Originally Posted by Jason
Doesn't sound like you wanted time as well so simply put
Label3.Text = Now.Date
Already Posted 3 Times
Originally Posted by Sydney
Already Posted 3 Times
No it wasn't, please read the thread -.-
All of you guys posted "Now", which returns a date and a time, the OP asked how to get the DATE into the Label's text property, so if you look closely you'll see I posted "Now.Date" which will return ONLY the date
Originally Posted by Jason
No it wasn't, please read the thread -.-
All of you guys posted "Now", which returns a date and a time, the OP asked how to get the DATE into the Label's text property, so if you look closely you'll see I posted "Now.Date" which will return ONLY the date
oh true is true.
But it would be stupid if he just needs the date or ?
thank you jason it works
Noooope? You may need the date rather than the date and the time? Why would only the date be stupid?
Nonsense post is nonsense.
Originally Posted by Blubb1337
Noooope? You may need the date rather than the date and the time? Why would only the date be stupid?
Nonsense post is nonsense.
So idk a idiot who dont know the date. Do you know every day the date ?I think u know. so Date and Time is more Usefull.
Originally Posted by Sydney
So idk a idiot who dont know the date. Do you know every day the date ?I think u know. so Date and Time is more Usefull.
Maybe the Idiot just wants the date. Come on... Whats the point of that discussion... wtf... it's ridiculous.
Solved and closed, you guys'll argue about anything.