Changes

Jump to: navigation, search

Counting Business Days between Two Dates

16 bytes removed, 23:03, 15 April 2009
no edit summary
To count business days between two dates (''startdate'' and ''enddate''), the following code can be used in a [[Custom Field Type (103): Special – Browser Script|Special Browser script]] field that will populate a [[Custom Field Type (60): Special – Calculated Value|Calculated Value Custom Field]] with the number of business days between two given dates.
<pre>
</pre>
In the '''Expression''' section of the [[Custom Field Type (60): Special – Calculated Value|Calculated Value Custom Field]] you would put the following:
bus_date_diff()
[[Category:Custom Fields]][[Category:JavaScript Examples]]
0
edits

Navigation menu