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
isa 2006 std authenticating users
How do I set the marquee text of the Logon Prompt screen saver for Default User?
Exchange 2007 - Test-SystemHealth (Upgrading servicepack 2)
SQL Stored Procedure
VBA Unload Startup Form
DSUM Mulitple Criteria
spamming of my eventlog with an errormessage
Barracuda Message Archiver Outlook Add-in install with Group Policy
Activesync does not syncronise reminders
How to TRULY Hide a Column from a DataGridView?