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
Partition system ID Windows 7
SCCM 2007 - Updated Prerequisite Component Path?
Fix "GetModuleHandleExW" error on a W2K SP4 Machine
How to transpose a variable length row to two columns
Select Statement with Function
import macro in excel
Need to deploy/upgrade an Access application
CSS Sheets
Compare Access Databases
Macro not available to button properties