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 ...
F.A.QA compilation of some user's questions...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
WebDNA ModulesA list of the currently available modules...
Download WebDNA ApplicationsWebDNA applications...
WebDNA LibrariesA list of available libraries for WebDNA...
It's January 1st and you have to update the copyright notice at the bottom of all your websites...
Extracting the first sentence out of a block of textI need to extract the first sentence out of a block of text...
ImageMagickUse ImageMagick to manipulate images when you upload them...
Removing whitespaceHow can I remove all whitespace entered by a user from an input box (ie card number)...
Write Once Use ManyReuse the same code over and over again on your site with the [include] context...
Paypal IPN...