The pattern of the above is that the first 4 numbers = YYYY and the last 3 = Total days past in YYYY.
I want to convert the first number string/number to a date with the format DD/MM/YYYY.
I have withdrawn my post and i have 24 hours to revoke it.if i have posted something not good for the forum or against the forum guidelines others can flag that post.After 24 hours it’ll be deleted
I tried this code and it works good and properly accoding to the condition you have specified but as you can see @LarsFeilberg wants something like this
He wants date of a month back
So @LarsFeilberg use this code NewDateTime(2019,1,1).AddDays(91).AddDays(-1).AddMonths(-1).ToString(“dd/MM/yyyy”)
If you have created the workflow as suggested by @lakshman than just make minor changes
Inplace of 2019 input the year variable and in place of 91 add Days Variable