Changes

Jump to: navigation, search

Calculated Value - busdateadd Function

161 bytes added, 18:36, 24 March 2009
no edit summary
The JavaScript "busdateadd" function adds a specific number of '''business days''' to a given date.
*Syntax: ''busdateadd(start datedatefield,business days to be added)'' datefield could be a [[Standard field]] or a [[Custom field]]
It skips Saturday and Sunday and Canadian public holidays (not banking holidays).
*(A US version will be available at a late later date).
This is not related to any [[SmartSimple]] calendar.
busdateadd(frm.startdate.value,1) returns 10/11/2008, Monday
 
startdate is a [[standard field]]. To calculate using [[custom field]] use frm.cf_fieldid.value.
[[Category:System Management]][[Category:Enhancements]][[Category:Custom Fields]]
Smartstaff
137
edits

Navigation menu