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

TimeInput

Opens a dialog box for entering a date and time.

Syntax

TimeInput(Title)

 

The syntax of the TimeInput 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.

Remarks

The function interprets the user input as local time, which must be entered in the format set up in Windows Control Panel, e. g. Month/Day/Year Hour:Minute:Second. The user does not have to specify all of the elements of the time. Missing elements are completed by the current system date. The element Second can be specified with fractional digits.

The function returns as the result the scalar value of calendar time data type corresponding to the time entered. If an invalid date is entered, for example one before 1.1.1970, then the function passes an invalid calendar time value.

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

Available in

FlexPro Basic, Professional, Developer Suite

Examples

TimeInput("Date and Time")

Opens a dialog box with the title "Date and Time". Valid entries would be, for example "10/24/2004 12:30" or "10/24/04 12:30:45.7"

See Also

ChooseFile Function

Input Function

TextInput Function

TimeSpanInput Function

MessageBox Function