Forum Discussion
Anonymous
10 years agoNot applicable
today function in M language
getdate() , today() ?
- Anonymous10 years ago
Anonymous it looks like there's no problem with the formula itself. It must be somewhere else, probably something to do with that Due Date column. Hit OK and select one of those error cells. What does it say down at the bottom of the screen when you do that?
Anonymous
10 years agoNot applicable
The error was that my Due Date had time in it also so I changed it to:
Date.From(DateTime.LocalNow())-Date.From([Due Date])
and it worked.
Thank You!!
Anonymous
10 years agoNot applicable
Anonymous if you want to keep the time you could just skip both of the Date.From statements entirely. Or I think you could combine them.
Date.From(DateTime.LocalNow() - [Due Date])
...should work exactly the same, and might even run a little faster.