2
I have a text box named txt_cadastro.Text
. When using the following command:
txt_cadastro.Text = DateString
Man textbox
is completed in the following format: 04-23-2014
What do I do for it to be presented in the Brazilian format dd/mm/yyyy
, in the case: 23-04-2014
?
I looked into it and I saw that I should change the currentculture
to the right format, but I couldn’t do it!
Using the following command: txt_cadastro.Text = Format(DateString, "dd/MM/yyyy")
the text box is filled with dd/MM/yyyy instead of 23-04-2014
Any simpler suggestion of date formatting?
The problem is in VB or VB.Net?
– Maniero