Yanachik.org

28 Feb, 2008

Format DateTime to Short Date when Binding in ASP.Net

Posted by: kyanachik In: ASP.Net| Featured

Here’s how to format a DateTime value to a Short Date when Binding in ASP.Net:

<%# Eval(”StartDate”, “{0:d}”) %>

1 Response to "Format DateTime to Short Date when Binding in ASP.Net"

Comment Form