Thread: Adding weekdays
View Single Post
  #2 (permalink)  
Old February 2nd, 2004, 05:00 PM
gbianchi gbianchi is offline
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there..

there is a function call weekday(). receive a date and gives you what day of the week that date is..

compare it with vbsunday and vbsaturday and only add whatevers are different from that..

hth...

Gonzalo Bianchi