C
cj
Is this the .net way?
Dim msgDate As Date = Now
TextBox1.Text = Format(msgDate, "yyMMdd") 'I want year month day 060306
TextBox2.Text = Format(msgDate, "HHmmss") 'I want 13:23:58
I didn't think .net encourages functions like format(var, string) any
more but I'm not sure what takes it's place.
Dim msgDate As Date = Now
TextBox1.Text = Format(msgDate, "yyMMdd") 'I want year month day 060306
TextBox2.Text = Format(msgDate, "HHmmss") 'I want 13:23:58
I didn't think .net encourages functions like format(var, string) any
more but I'm not sure what takes it's place.