This small script finds the number of working days between two dates
numero = 297[text]startdate=02/01/2004[/text][text]enddate=02/24/2004[/text][math show=f]workingdays=0[/math][loop start=[math]{[startdate]}[/math]&end=[math]{[enddate]}[/math]][hideif |Sat|Sun|^[format days_to_date %a][index][/format]][math show=f]workingdays=[workingdays]+1[/math][/hideif][/loop]Working Days=[workingdays]
[text]startdate=02/01/2004[/text]
[text]enddate=02/24/2004[/text]
[math show=f]workingdays=0[/math]
[loop start=[math]{[startdate]}[/math]&end=[math]{[enddate]}[/math]]
[hideif |Sat|Sun|^[format days_to_date %a][index][/format]]
[math show=f]workingdays=[workingdays]+1[/math]
[/hideif]
[/loop]
Working Days=[workingdays]
DOWNLOAD WEBDNA NOW!
A list of user-submitted tips ...
WebDNA reference...
Download WebDNA ApplicationsWebDNA applications...
WebDNA ModulesA list of the currently available modules...
F.A.QA compilation of some user's questions...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
It's January 1st and you have to update the copyright notice at the bottom of all your websites...
How to setup CODA to work with WebDNA?This page will show graphically how to setup CODA as a WebDNA partner :-)...
WebDNA Google Map MashupGenerate a Google map with pins on your database addresses...
Using a simple Array of Variables with [interpret]The [interpret] context is very powerful command in the hands of a skilled WebDNA programmer...
reCAPTCHA codereCAPTCHA helps prevent automated abuse of your site (such as comment spam or bogus registrations) by using a CAPTCHA to ensure that only humans perform certain actions...
Check the Federal Government's Social Security databaseThe script on the page will check the federal government's social security database...