S
Steve Long
Hello,
I'm encountering a bug, or user error, with the Format function and I'm
wondering if someone can either straighten me out or confirm the bug.
I'm passing in a Date to the Format function and a style:
Dim dte As Date = Date.Parse("8/19/2005 1:06:00 PM")
Dim s As String = "mm/dd/yyyy"
Console.WriteLine(Format(dte, s))
The Format function is returning:
06/19/2005
What is up with this?
Thanks in advance for any help
Steve
I'm encountering a bug, or user error, with the Format function and I'm
wondering if someone can either straighten me out or confirm the bug.
I'm passing in a Date to the Format function and a style:
Dim dte As Date = Date.Parse("8/19/2005 1:06:00 PM")
Dim s As String = "mm/dd/yyyy"
Console.WriteLine(Format(dte, s))
The Format function is returning:
06/19/2005
What is up with this?
Thanks in advance for any help
Steve