Hi,
I want to extract only the date from the result of item.Headers(“Date”)
How can we do it?
This is needed as in the flow I am checking a condition of the system date equals the email date in the format mm-dd-yyyy
Hi,
I want to extract only the date from the result of item.Headers(“Date”)
How can we do it?
This is needed as in the flow I am checking a condition of the system date equals the email date in the format mm-dd-yyyy
Hi @anshulagarwal,
Check this…
Regards
Balamurugan
I tried but I get the below error message
newdatevalue=DateTime.ParseExact(emaildate.ToString,“MM-dd-yyyy hh:mm:ss”,Globalization.CultureInfo.InvariantCulture).ToString(“MM-dd-yyyy”)
newdatevalue is of type string
Thanks,
Anshul
Also, I tried changing the emaildate type to DateTime but in that case it gives the below error message
Hi @anshulagarwal,
Check this project.
File :
Extract only Date from the received email.zip (2.0 KB)
Regards
Balamurugan
@balupad14 Thanks this worked