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 compilation of some user's questions...
WebDNA ModulesA list of the currently available modules...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
WebDNA reference...
WebDNA LibrariesA list of available libraries for WebDNA...
Tips and TricksA list of user-submitted tips ...
reCAPTCHA 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...
How old am I?You want to express an age in years given the dob (mm/dd/yyyy) and today's date...
Redefining [date] & [time] to match your time zoneYour server is not always in the same time zone as your web site...
random password-generator codeGenerate a random alpha-numeric string...
Database backupHow to make a backup of your databases...
Paypal IPN...