GetWeekDay

  • Thread starter Thread starter DENNIS BROWN
  • Start date Start date
D

DENNIS BROWN

Anyone have a code example on GetWeekday? I need something to give me the weekday a date falls on. If I have a date of 6/24/2007, how can I determine what day that is?
 
Try the built-in Weekday() function.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


Anyone have a code example on GetWeekday? I need something to give me the weekday a date falls on. If I have a date of 6/24/2007, how can I determine what day that is?
 
You don't mention what language you're using but if it's VB/VBA why not just
use the WeekDay function, which takes a date and returns an int from 1 to 7
representing the day of the week that date falls on.




Anyone have a code example on GetWeekday? I need something to give me the
weekday a date falls on. If I have a date of 6/24/2007, how can I determine
what day that is?
 
Thanks, I'll check that one out.

--

Thanks,
Dennis
You don't mention what language you're using but if it's VB/VBA why not just use the WeekDay function, which takes a date and returns an int from 1 to 7 representing the day of the week that date falls on.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


Anyone have a code example on GetWeekday? I need something to give me the weekday a date falls on. If I have a date of 6/24/2007, how can I determine what day that is?
 
Back
Top