After checking, we have narrowed down the different issues.
When using the @weekday(20230417) function with the America/New York timezone operator, the value returned is 2.
However, when using the same function with the Europe/Belfast timezone operator, the value returned is 1
@AK___ Can you check the calendar added in both the operators too under the work tab. Do both operator have same calendar? We use Calendar to define working days.
This issue has been resolved.
I passed the input parameter with a timestamp value, irrespective of the operator’s timezone. The format used was ‘@DatetimetoBigdecimal(20230417T000000.000 GMT)’, which resulted in the correct value of 19464.