I need to check that the date which I pass to the workflow in mm/dd/yyyy format is from current month or not
you can try below
Date.TryParseExact(variable1,“MM/dd/yyyy”,CultureInfo.InvariantCulture,Globalization.DateTimeStyles.None,Nothing).ToString
1 Like
Go to Imports then type and enter “system.globalization”
1 Like
is there any other without doing any imports
1 Like