DAYS - Number of days in time (Reports & Settings Report Generator function)

From Catalyst Knowledge Base
(Redirected from REF:rprgfdays)
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Syntax

$DAYS{time, unit}

Description

Return the number of whole days from a length of time.

Parameters

time
A numeric parameter that can be omitted.
The time in numeric format. If omitted, the current machine time is used.
unit
A text parameter that can be omitted (it defaults to "S").
Is the given time in Minutes or Seconds?
M
Minutes
S
Seconds

Returns

A numeric value. The number of days in time.