REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: to-time

to-time  value

Converts to time! value.

Arguments:

value

See also:

to  

Description

Returns a time! value made from the given value.

print to-time 75
0:01:15

Integer values are interpreted as a number of seconds.

A block may contain up to three values. The first two must be integers, and correspond to the hour and minute values. The third value can be an integer or decimal value, and corresponds to the number of seconds.


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin