DataTime 1 month

Hope the below expression would help you validate whether it has crossed a month or not

Let’s take like you have the input in Strinput

  1. First use a assign activity like this

Strinput = String.Join(“/“,Split(Strinput.ToString,” of “)).ToString

Use this expression in IF activity

(Convert.ToInt32(Datetime.ParseExact(Strinput.ToString.Trim,”dd/MMMM/yyyy”,System.Globalization.CultureInfo.InvariantCulture).ToString(“MM”))-Datetime.Now.Month)>1

If true it has passed one month and goes to THEN block

Cheers @dcmf

2 Likes