TimeSpanInput (FPScript)
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 a time span (D:H:M:S)") |
Opens a dialog box with the title "Please enter a time span (D:H:M:S)". |
See Also
You might be interested in these articles
You are currently viewing a placeholder content from Facebook. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Instagram. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from X. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More Information