Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Day of the week (Number) 1

Status
Not open for further replies.

Extension

Programmer
Nov 3, 2004
311
CA

Hi,

I would like to know if there is a built in function to determine the day of the week in number format. For example: 2007/07/26 is 'Thursday' but I would like to get '4' instead.

Right now I'm doing a loop to determine the number but I was wondering if there was a built in function to do this. (Maybe a hack with DateFormat that I'm not aware of)

Thanks
 
ECAR

Thank you very much. This is exactly what I was looking for !!!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top