View Single Post
Old 03-15-2014, 02:30 AM   #5
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,211
Default

yes there is a function /method called getDay which returns the day as a number o=sunday 1= monday etc so I would suggest set a new var and put each day in an if condition

Code:
var dt=d.getday();

 if(dt==0){

do stuff
}


 if(dt==1){

do different stuff
}
Again subject to testing
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote