Skip to main content

CALCULATE_TIMECARD

Call the calculate timecard plugin for an employee and paydate/week

Example Usage

CALCULATE_TIMECARD(1, 2023-04-13)  // Is a Thursday, but will calculate the Sun->Sat period

Overview

Function signature
CALCULATE_TIMECARD(employeeid, paydate)

Category
Plugin

Return data type
bool

Arguments

NameDataTypeList Options                          Description
employeeidintThe internal Employees_ID of the worker to calculate
paydatedateThe date to calculate; the date can be any day during a 7 day week which makes up a time calculation period (e.g. enter any date during a week and the entire week will be calculated)