Thursday 5 September 2013

Date and time format set in gridview asp.net Temlate fields

time- <%# Eval("getdate()", "{0:hh:mm:ss tt}")%>
date-<%# Eval("getdate()", "{0:dd/MM/yyyy}")%>

No comments:

Post a Comment

Excel Sort values in ascending order using function TEXTJOIN

 Excel ::  Text ::  1,3,5,2,9,5,11 Result :: 1,2,3,5,5,9,11 Formula ::     TEXTJOIN ( ",",1,SORT(MID(SUBSTITUTE( A1 ,","...