Changes
Jump to:
navigation
,
search
IsHoliday
226 bytes added
,
15:11, 23 September 2009
no edit summary
{
var cdate=dateadd(start,'D',i);
var cdatetemp=new Date();
var cdatearr=cdate.split("-");
cdatetemp.setFullYear(parseInt(cdatearr[0]),parseInt(cdatearr[1])-1,parseInt(cdatearr[2]));
if(
!
isHoliday(cdate)
||cdatetemp.getDate()==0||cdatetemp.getDate()==6
)
sub--;
}
document.frmevent.cf_1742956 .value=cdate;
}
bus_date_subtract();
</pre>
← Older edit
Newer edit →
Madhulika
Smartstaff
137
edits
Navigation menu
Personal tools
Log in
Namespaces
Special page
Variants
Views
More
Search
Navigation
Home
Articles by Index
Articles by Category
New Articles
Updated Articles
Tools
Special pages
Printable version