Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products.
All content is subject to change and is provided without warranty.
Skip to main content

firstworkdate Script and chart function

The firstworkdate function returns the latest starting date to achieve no_of_workdays (Monday-Friday) ending no later than end_date taking into account any optionally listed holidays. end_date and holiday should be valid dates or timestamps.

Syntax:  

firstworkdate(end_date, no_of_workdays {, holiday} )

Return data type: integer

Arguments:  

Arguments
Argument Description
end_date The timestamp of end date to evaluate.
no_of_workdays The number of working days to achieve.
holiday

Holiday periods to exclude from working days. A holiday is stated as a string constant date. You can specify multiple holiday dates, separated by commas.

Example: '12/25/2013', '12/26/2013', '12/31/2013', '01/01/2014'

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!