BUT, it is DateTime.
The results in my email widget are : PO created date: 9/10/2019 12:00:00 AM
I don’t know how to convert this to just date.
I’ve tried what Google has shown - adding “.date” at the end, or adding “.ToString(“yyyy-MM-dd”)” at the end. These generate errors when checking syntax.
where are you trying to format this? Your code snippet doesn’t show that. You can’t format withing the linq expression, you’d have to do it afterwards.
Hi Team,
I have the same exact issue I have an email alert displaying the PORelRow.PromiseDt field and it comes over as datetime instead of date. I tried to follow the example above and to be honest I’m a bit lost. Not exactly sure how you guys were able to resolve it.
Hi Ben,
Thanks for the response, what are you using as condition statements? I have about 30+ different email alerts and that could use this quick fix as well. So your help is much appreciated. Can you potentiality have a step by step instructions?
I think you’re getting that error due to the semi-colon within the editor window. Take that out and you should be good to go (or get a different error at least. )