Ted's Hello World
Tuesday, May 19, 2009
VB6.Format(tempstr, "mmm dd, yyyy") to CType(tempstr, Date).ToString("MMM dd, yyyy") in VB.NET 2005
VB6.Format(tempstr, "mmm dd,yyyy")
to
CType(tempstr, Date).ToString("MMM dd,yyyy")
The MMM gives you Jan as opposed to 01
For more information and all the formats go to :
http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.
‹
›
Home
View web version
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.