Read Me - Common Public License V1.0 - Copyright Notice(©)

init


>>-init(fullDate)---------------------------------------------><

>>-init(hours, minutes, seconds)------------------------------><

>>-init(day, hours, minutes, second, microseconds)------------><

Initializes a new TimeSpan instance. If the single [fullDate] argument is used, the TimeSpan argument is initialized to the time span [fullDate] microseconds. Otherwise, the TimeSpan instance is initialized to either the [hours] , [minutes] , and [seconds] or the [days] , [hours] , [minutes] , [seconds] , and [microseconds] components. Each of these components must be a valid whole number within the acceptable range for the given component. For example, [hours] must be in the range 0-23, while [minutes] must be in the range 0-59.

Class TIMESPAN


                         -- initializes to 15 hours, 37 minutes and 30 seconds
                         -- (15:37:30.000000)
span = .TimeSpan~new(time('F', "15:37:30", "N))
                         -- also initializes to 15:37:30.000000
span = .TimeSpan~new(15, 37, 30)
                         -- initializes to 6.04:33:15.000100
span = .TimeSpan~new(6, 4, 33, 15, 100)

Read Me - Common Public License V1.0 - Copyright Notice(©)