Minute Function; Example Of Minute - HP Neoview SQL Reference Manual

Hide thumbs Also See for Neoview SQL:
Table of Contents

Advertisement

MINUTE Function

The MINUTE function converts a TIME or TIMESTAMP expression into an INTEGER value, in
the range 0 through 59, that represents the corresponding minute of the hour.
MINUTE is a Neoview SQL extension.
MINUTE (datetime-expression)
datetime-expression
is an expression that evaluates to a datetime value of type TIME or TIMESTAMP. See
"Datetime Value Expressions" (page

Example of MINUTE

Return an integer that represents the minute of the hour from the SHIP_TIMESTAMP column
in the PROJECT table:
SELECT start_date, ship_timestamp, MINUTE(ship_timestamp)
FROM persnl.project
WHERE projcode = 1000;
Start/Date
----------
1996-04-10
Time/Shipped
--------------------------
1996-04-21 08:15:00.000000
210).
(EXPR)
------
15
MINUTE Function
363

Advertisement

Table of Contents
loading

Table of Contents