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...
Download WebDNA ApplicationsWebDNA applications...
Tips and TricksA list of user-submitted tips ...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
I have a project where I'm allowing several people to upload images...
Handling credit card numbersEncrypting the credit card numbers does the job quite nicely...
Export data to ExcelHere's a handy way to export your data to a text or Excel file...
Check the Federal Government's Social Security databaseThe script on the page will check the federal government's social security database...
Redefining [date] & [time] to match your time zoneYour server is not always in the same time zone as your web site...
Spaghetti codeHow to get rid of very long search strings...