Click here to Skip to main content
15,901,122 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, may i ask that why every time i format a string on a value in table cell, it would ignore my command and did not display the string as i wanted. For example, i have a value which is in the following format : 17/06/2014. But every time i click on the "Format String" button and select the format i want(i even custom my ow format) but when display, it would display as 17/06/2014 00:00:00 which is not i wanted. Any help would be appreciated. Thank you.
Posted
Updated 16-Jun-14 23:03pm
v2

1 solution

inside the stored procedure change the following:

CONVERT(VARCHAR(10), STARTDATE, 103)

whereas 103 is for the format dd/MM/yyyy
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900