Microsoft
Software
Hardware
Network
Question : Get only Day and month from datetime
Hello, how do you extract just the day and the month from a datetime field?
Answer : Get only Day and month from datetime
Try this :
SELECT CAST(DAY(GETDATE()) AS VARCHAR(2)) + ' ' + DATENAME(MM, GETDATE()) AS [DD Month]
SELECT DATENAME(MM, GETDATE()) + ' ' + CAST(DAY(GETDATE()) AS VARCHAR(2)) AS [Month DD]
Regards,
VDC
Random Solutions
ERROR MESSAGE ON REPORTING SERVICES URL
Microsoft Outlook Delayed delivery option- Would like time stamp to show in sent items when email is actually sent and not when its activated
[http error 400 - request is badly formed] appears randomly in .net application
Long query in code does not run
The string was not recognized as a valid DateTime. There is a unknown word starting at index 0.
Software from Windows 95 O/S
ASP.NET SOAP Server/Client with Complex Types
Date Sorting
CImage ReleaseDC Exception Mystery
Expand Indicator Not Showing in Datasheet View