Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

TODAY () function when I add a custom column

NULL
Status: Completed
Comments
nishalit
New Member
It's already possible to dynamically retrieve today's date when authoring a Custom Column in the Query Editor. You can use DateTime.LocalNow () or DateTime.UtcNow () to get a date/time stamp, from which you can extract the date part. Something like this should work: Date.From(DateTime.LocalNow () )
alexandr_gavril
New Member
why TODAY () function doesn`t work in Power Query instead of Date.From(DateTime.LocalNow () )? i was tried to do simple TODAY () -[Start Date] an example...
kwright
New Member
this just shows "function" in the table. how do I get the actual date?
fbcideas_migusr
New Member
Status changed to: Completed