Uipath datetime validation

Hello I want to know how I can validate a string to see if it is Datetime with the format yyyyMMddhhmmss

use an assign activity:
leftside: check (Boolean)
DateTime.TryParseExact(yourDateTimeString, “yyyyMMddHHmmss”, CultureInfo.InvariantCulture, DateTimeStyles.None, Nothing)

ensure following:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.