hai guys..
i'm having prob regarding displaying current date using label..
i'm using this code:
lblCurrTime.Text = Format$(Now, "dd mm yy")
the output is:
14 32 08
14 is day
32 is month..why is this happen?
08 is year..
plz help me..
I have no idea. Try using Format instead of Format$, because you are not working with strings, but with dates.
May be you should be changing the label's caption instead of the label's text, but that depends on the version of VB.
Other than that, your code seems perfect to me, and even using Format$, it should be working fine.