HOURS2SECONDS

Purpose:

Converts hours to minutes.

Syntax:

HOURS2SECONDS(hours)

hours

-

A scalar or series, the hours values.

Returns:

A series or array of seconds values.

Example:

hours2seconds(3)

 

Returns 10800, the number of seconds in three hours.

Example:

seconds2hours(hours2seconds(3))

 

Returns 3.0 hours showing SECONDS2HOURS and HOURS2SECONDS are inverse functions.

Example:

W1: 0..0.2..1

W2: hours2seconds(w1)

W3: seconds2hours(w2)

 

W1 contains the hours series {0, 0.2, 0.4, 0.6, 0.8, 1.0}.

W2 contains the seconds series {0, 720, 140, 2160, 2880, 3600}.

W3 recovers the original hours series.

Remarks:

HOURS2SECONDS converts an hour value or series to seconds.

 

See SECONDS2HOURS to convert seconds to hours.

See Also:

HOURS2DAYS

HOURS2MINUTES

HOURS2YEARS

SECONDS2HOURS