Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

How do I just get the date from a Datetimepicker(dtp)??

 

When I use .value I get the date and time even though i have set the dtp to short date.

 

Any ideas welcome.

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

-- Rick Cook, The Wizardry Compiled

Posted

I noticed in the text property it also had the time. So I deleted that out so it was just the date. I was able to get just the date with .value.

 

My next question is this only going to work on my computer. I guess I will just have to wait and see.

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

-- Rick Cook, The Wizardry Compiled

Posted

Excellent,

 

Thanks for that. That's one less worry.

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

-- Rick Cook, The Wizardry Compiled

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...