Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi there,

 

I'm stuck with a problem formatting a datetime value:

 

 

Dim thisdate As DateTime = #10/15/2005#

Me.Label1.Text = Format(thisdate, "mm/dd/yyyy").ToString

 

Returns 00/15/2005

setting the month to 00 instead of 10

 

I must be doing something wrong, for I don't find any mentioning of this problem.

 

I use VB.NET Visual Studio 2003

 

Any help is more then welcome !

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...