String.Format() should work
or load into a DateTime object and use dateTime.ToShortDateString().
The String format is useful if you are dealing with one date format. The
DateTime is better if you have to be culture aware, as it respects the
culture of the thread.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)
************************************************
Think outside the box!
************************************************
"Paulo" <pr*****@uol.com.brwrote in message
news:eL**************@TK2MSFTNGP05.phx.gbl...
Hi, how can I return just the date from a DateTime field ? Any C# .net 2.0
/ SQL function?
Thanks a lot!