DAYS2SECONDS

Purpose:

Converts days to seconds.

Syntax:

DAYS2HOURS(days)

days

-

A scalar or series, the days values.

Returns:

A series or array of seconds values.

Example:

days2seconds(3)

 

Returns 259200, the number of seconds in three days.

Example:

seconds2days(days2seconds(3))

 

Returns 3.0 days showing SECONDS2DAYS and DAYS2SECONDS are inverse functions.

Example:

W1: 0..0.2..1

W2: days2seconds(w1)

W3: seconds2days(w2)

 

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

W2 contains the seconds series {0, 17280, 34560, 51840, 69120, 86400}.

W3 recovers the original days series.

Remarks:

DAYS2SECONDS converts a day value or series to seconds.

 

See SECONDS2DAYS  to convert a seconds value or series to days.

See Also:

DAYS2HOURS

DAYS2MINUTES

DAYS2YEARS

MINUTES2DAYS

SECONDS2DAYS