Entering content frame

Time Function (time_function) 

A time function ( time_function) is a function that is applied to time or timestamp values, or that supplies a time or timestamp value as a result.

Syntax

<time_function> ::=
  ADDTIME    ( <time_or_timestamp_expression>, <time_expression> )
| SUBTIME    ( <time_or_timestamp_expression>, <time_expression> )
| TIMEDIFF   ( <time_or_timestamp_expression>, <time_or_timestamp_expression> )
| MAKETIME   ( <hours>, <minutes>, <seconds> )

time_or_timestamp_expression, time_expression, hours, minutes, seconds

ADDTIME/SUBTIME(t,a), TIMEDIFF(t,s), MAKETIME(h,m,s)

A variety of date and time formats (ISO, USA, EUR, JIS, INTERNAL) are available for processing date and time values.

In the ISO and USA formats, the hours are displayed modulo 24.
In the EUR and JIS formats, a number of hours greater than 99 causes an error.
In the INTERNAL format, you can use up to 9999 hours.

 

Leaving content frame