Skip to main content
Question

any function used in pql to calculate days between the two date column such as in excel networkdays does (consider start date and end date , exclude weekends, ignore timestamps)

  • February 27, 2023
  • 2 replies
  • 12 views

Forum|alt.badge.img+4
any function used in pql to calculate days between the two date column such as in excel networkdays does (consider start date and end date , exclude weekends, ignore timestamps)

2 replies

muthappan.alaga
Level 8
Forum|alt.badge.img+1

Try Remap_TIMSTAMPS, datediff, days_between

 

 

 


subhayu.monda12
Level 4
Forum|alt.badge.img+16

The WORKDAYS_BETWEEN function determines the amount of workdays between two given dates. It should work similar to the networkdays function in excel.

 

syntax - WORKDAYS_BETWEEN ( start_date, end_date, calendar_specification [, calendar_id_column])

 

The WORKDAYS_BETWEEN function retrieves its information regarding valid workdays from the passed Calendar configuration. For more information on this, see the following link

 

https://docs.celonis.com/en/workday_calendar.html