DateTime.LocalNow

 

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

Returns a datetime value set to the current date and time on the system.

DateTime.LocalNow() as datetime  

  • The returned value does not contain timezone information.
DateTime.LocalNow()equals 2013-03-08T14:22:42  

Show: