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
How do you create ODBC in VBA to retrieve a text file from remote server then populate access table?
ASP.NET SOAP Server/Client with Complex Types
if statement in C#
sql permissions to use adp
How to set a font to a CMenu ?
Argument not specified for parameter 'sender' of 'Protected Sub EmailRegAttendeeNotices_Cl<wbr />ick(sender<wbr /> As Object, e As System.EventArgs)'.
changing AD login names
How to trigger Form events?
override standard SQLEXEC function vfp
Shell versus Double-Click