int2DTinterval

Converts an integer to a date time interval. "String_expression" specifies what "integer_expression" represents: "ns" = nanoseconds, "s" = seconds (default), "m" = minutes, "h" = hours, "d" = days.

Syntax

int2DTinterval ( integer_expression , string_expression )

Example 1

int2DTinterval (1020,"h")

Result

42 days 12 hours

Example 2

int2DTinterval (1020,"s")

Result

17 minutes