Hello,
I am trying to address the Date in a lable where it will address only the Month and the Day (i.e. January 1). Then in another lable address the Year in only two integers (i.e. 00).
Thank you, for who answers
Printable View
Hello,
I am trying to address the Date in a lable where it will address only the Month and the Day (i.e. January 1). Then in another lable address the Year in only two integers (i.e. 00).
Thank you, for who answers
Try looking at the Format function in Vb help ;)
Try This...
Code:Dim currDate As Date
currDate = Now
Label1.Caption = Format(currDate, "MMMM d")
Label2.Caption = Format(currDate, "YY")