Question Locked

Conversion of date into string in ASP

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Well ppl I m makin a prj in ASP. I m a newbie in d arena. So plz tell me how to convert date into string in ASP.

4 replies

by jiminpa

How are you getting the date in your application? You should be able to just "Dim" it as a string. Let's assume you are using a DateTimePicker. You could use the following.

Dim Date As String = DateTimePicker.Vaule.ToString("MM/dd/yyyy")

Hope that helps. Without more info that is the best I can do.

by tony hopkinson

There's no such property as Vaule in a DateTime Picker.

It Vlaue !

Where's my intellisense f'ing gone. :D

by jiminpa

D@mn spelling. That's why Outlook doesn't let anything out of my mailbox before taking a thorough look at it. Spelling doesn't count in programming... does it?

(that's why none of my scripts run)

This discussion is closed to new replies.