Date format function

K

Kevin Spencer

DateTimeValue.ToString("d")

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
R

RSB

Hi Everyone,

i am sure it should be easy..
I have a table in the SQLServer with a Date/Time field.
And once i read the data from this field i get the Date and Time e.g.
12/12/2004 12:00:00 AM
so what function i use on the ASP.net to only get the Date.

Thanks
RSB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top