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!
Amazon Web Services (AWS) README for Machine Image ID...
[biotype]BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...
WebDNA ModulesA list of the currently available modules...
F.A.QA compilation of some user's questions...
WebDNA LibrariesA list of available libraries for WebDNA...
Tips and TricksA list of user-submitted tips ...
Encrypting the credit card numbers does the job quite nicely...
ImageMagickUse ImageMagick to manipulate images when you upload them...
random password-generator codeGenerate a random alpha-numeric string...
WebDNA Google Map MashupGenerate a Google map with pins on your database addresses...
Formatting a long list in a tableHow to show the result of a search as a table...
Using a simple Array of Variables with [interpret]The [interpret] context is very powerful command in the hands of a skilled WebDNA programmer...