Date Component

Fnd_Date_RoundTime

Fnd_Date_RoundTime (time {; option}) -> Time

Legacy manual page 67

Parameters

ParameterTypeDescription
timeTimeTime to round
optionLongintRounding style
Function resultTimeRounded time

Description

This function rounds the time based on the rounding option, default is to round to the nearest quarter hour. If option is 1, round up or down to the nearest quarter hour. If option is 2, round down to the nearest quarter hour.

$time_time:=Fnd_Date_RoundTime (current time)
Extracted source text
            Fnd_Date_RoundTime (time {; option}) ➜ Time

              Parameter                Type              Description
              time                     Time              Time to round
              option                   Longint           Rounding style
              Function result          Time              Rounded time

            This function rounds the time based on the rounding option, default is to round to the nearest quarter
            hour. If option is 1, round up or down to the nearest quarter hour. If option is 2, round down to the
            nearest quarter hour.
              $time_time:=Fnd_Date_RoundTime (current time)