Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Date Conversion in T-SQL

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-02-28 : 23:51:19
Papio writes "How would I convert the day of the year into it's date? I would know the year for each conversion. You can use DATEPART(dy,GETDATE()) to give you the day of the year. But how do you go the other way. For instance, 58 is 02/27/2001."
   

- Advertisement -