FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder

FlexPro Documentation 2025

TimeSpanInput

Opens a dialog box for entering a time span.

Syntax

TimeSpanInput(Title)

 

The syntax of the TimeSpanInput function consists of the following parts:

Part

Description

Title

String with a title for the dialog box.

Permitted data structures are Scalar value. Supported data types are String.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

Remarks

As the result the function returns a scalar value of data type Time span.

The function interprets the user input as a time span that can be entered using the format Days:Hours:Minutes:Seconds or Hours:Minutes:Seconds. The user can omit the elements starting from the right. Missing components are assumed to be zero. If the input consists of four elements, then this is always interpreted as Days:Hours:Minutes:Seconds. The element Second can be specified with fractional digits.

Available in

FlexPro Basic, Professional, Developer Suite

Examples

TimeSpanInput("Please enter timespan (D:H:M:S)")

Opens a dialog box with the title "Please enter timespan (D:H:M:S)".

See Also

ChooseFile Function

Input Function

TextInput Function

TimeInput Function

MessageBox Function