Hello is there any way to get the data that is set on your computer in the task bar into your application say a label/text box? If so could someone post the code.
Thanks a bunch.
Printable View
Hello is there any way to get the data that is set on your computer in the task bar into your application say a label/text box? If so could someone post the code.
Thanks a bunch.
Date will get you date
Time ... well.. gets the time
and Now gets it all!
Example: Label1.caption = Date
or Label1.caption = Time
Great thanks, is there any way to change the format such as today would be August 18 with out the year?
Quote:
Originally Posted by koolzap351
Yes:
VB Code:
Label1.caption = Format(Date,"mmmm d")
If you want the complete date and time you can call "Now" - if you just want the date you can call "Date" and for the time call "Time". You can also format them in multiple ways. This site has pretty good coverage of all the date functions.
Great, thankyou a lot guys.
Hi
would load the current date into the text box text1.Code:text1.text = Format(Now, "dddddd")
Quote:
Originally Posted by koolzap351
Don't forget to mark this thread resolved, and BTW welcome to the VB Fourms! :wave: