Convert Date and Time from String#

Convert text into a date and time variable.

Value

[Text] The text that needs to be converted to date and time.

For example, "01.01.2020 12:00:00"

Locale

Select the locale for conversion. Possible values:

  • RU - Russian (ru-RU);
  • EN - English (en-US).
Format[Text] A format descriptor that specifies the required string format.
Result[Date and Time] Returns the result of the conversion from string to a Date and Time data type variable.
Error Handling Level

Select the error handling level.

Possible values:

  • "Default" - by default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation. Possible values:

  • "Default" - by default;
  • "Release" - output is disabled;
  • "Debug" - outputs main information;
  • "Detailed" - outputs detailed information.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.