Click here to Skip to main content
15,890,690 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I Tried your query but My date fromat(yyyy/dd/mm) wise same data again came, I am provide some data in process date

ProcessDate(yyyy/dd/mm)this format Below Data

2014-01-04 00:00:00.000
2014-02-04 00:00:00.000
2014-03-04 00:00:00.000

But I want (yyyy/dd/mm) this format result is 2014-04-01 00:00:00.000((yyyy/dd/mm))

Thanks
Posted
Updated 20-Jul-17 19:31pm

Don't post this under Quick Answers - if you got the code from an article, then there is a "new message" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.
Posting this here relies on them "dropping by" and realising it is for them.

Or, if this is in relation to an answer to an existing question of yours, use the "Reply" facility on that answer to speak to the person involved directly. The question and answer will have context that is probably essential for a good answer,
 
Share this answer
 
convert(date,Convert(nvarchar(50),convert(date,'2013-01-02'),105))
 
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