Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
mark #1
Date Time question
Hello
I search SQL DB and display results to an APS.Net page using <asp:repeater
/>
One of the columns is a Date in the Database SmallDate .
When I display it the page it shows Date and Time. How can I get rid of Time
and have only date displayed.
All help is greatly appreciated.
Mark
mark Guest
-
CFMX7.0.1 Administrator date time issue showing 13hrsbehind server time
I am running a W2k SP4 box that has been upgraded from CFMX6 to CFMX7.0.1. The CFMX7.0.1 server is showing the date on the Server Settings >... -
Simple Dumb Question - Null for Date/Time Field
using cf mx ms sql 2000. i have an update form that contains a field for date a procedure was signed. the problem is if the procedure was not... -
SQL question re WHERE usage anf Date/Time
Using MS-Access with "myDate" defined as a Date/Time field, how do I use SQL to select only those records (rows) that have have nothing in this... -
Convert date/time to date in SQL Server 2000 statement
Can this be done? tia -
Time/Date format and changing time to GMT
Hi All, Sorry if this is the wrong newsgroup to post into, on this topic, if so, please point me in the right direction..... Currently working... -
Elton Wang #2
Re: Date Time question
If you are using DataBinder.Eval method, you can pass third parameter,
format string:
DataBinder.Eval(Container.DataItem, "DateTime_field", "{0:MMM dd yyyy}")
HTH
"mark" <mtschndler@yahoo.com> wrote in message
news:%23eUwIJ57FHA.2384@TK2MSFTNGP12.phx.gbl...> Hello
>
> I search SQL DB and display results to an APS.Net page using <asp:repeater
> />
>
> One of the columns is a Date in the Database SmallDate .
>
> When I display it the page it shows Date and Time. How can I get rid of
> Time and have only date displayed.
>
> All help is greatly appreciated.
>
> Mark
>
Elton Wang Guest



Reply With Quote

