DTOP - Payroll date to period conversion (Payroll Report Generator function)

From Catalyst
Revision as of 05:48, 16 April 2020 by ThrashBot (talk | contribs) (Updated from revision control)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Syntax

$DTOP{date, freq}

Description

Return the period for a given date.

Parameters

date
A numeric parameter that can be omitted.
The date in numeric format. If this is blank then the current user date is used.
freq
A text parameter that can be omitted (it defaults to "M").
M
Monthly.
W
Weekly.
4
4 Weekly.
F
Fortnightly.

Returns

A numeric value. Period.