Click here to Skip to main content
15,913,467 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i am declared one column date is date datatype but frontent i get date with time but i want only date ...Pls gave me solution......
Posted
Comments
Richard MacCutchan 14-May-14 6:09am    
The date (and time) is only displayed in the format that you choose; so choose on that does not include the time.
safihur Rahuman 14-May-14 6:26am    
i am choose only date format but front end its shows date and time also
Richard MacCutchan 14-May-14 6:32am    
Sorry, but my X-ray vision is not working today. If you really want help with your problem then edit your question and show the code that is not working, and the results you are seeing, and explain where and why it is not correct.
Maciej Los 14-May-14 13:21pm    
Why?

1 solution

SQL
SELECT CONVERT(VARCHAR(11),GETDATE(),101)
 
Share this answer
 
v2
Comments
safihur Rahuman 14-May-14 6:23am    
this one is declare front end or sql

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