How many working days?

This small script finds the number of working days between two dates

numero = 297
interpreted = N
texte =
[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!

Top Articles:

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

WebDNA Libraries

A list of available libraries for WebDNA...

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

F.A.Q

A compilation of some user's questions...

WebDNA reference

...

Tips and Tricks

A list of user-submitted tips ...

Related Readings:

Paypal IPN

...

Setting a 30-minute Cookie

Configuring the expires time for a short-term cookie is tricky...

Find duplicate records

Find duplicate records and do something with them...

How many working days?

This small script finds the number of working days between two dates...

Calculating Standard Deviation

...

random password-generator code

Generate a random alpha-numeric string...