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
 General SQL Server Forums
 New to SQL Server Programming
 Display weekday of today's date

Author  Topic 

FightingTiger
Starting Member

23 Posts

Posted - 2012-04-30 : 09:55:25
I have been racking my brain but can not figure out how to do this.

I am wanting to return the weekday name (Monday, Tuesday, etc.) from the getdate() function.

Any ideas would be very helpful

sunitabeck
Master Smack Fu Yak Hacker

5155 Posts

Posted - 2012-04-30 : 09:56:14
[code]DATENAME(weekday,GETDATE());[/code]
Go to Top of Page

FightingTiger
Starting Member

23 Posts

Posted - 2012-04-30 : 09:58:44
Thanks, I tried something similar but I think I set it up incorrectly.

Thanks for the help, I really appreciate it.
Go to Top of Page
   

- Advertisement -