Forum Discussion
PPStar
Helper V
2 years agoFormat DateTime.LocalNow()
Hello, I have a dataflow and i need to include the last refresh date in that dataflow. I created a new blank query and entered the following code : DateTime.LocalNow() This correclty retur...
- 2 years ago
Hi PPStar
You do not need to format anything. This function returns a datetime value set to the current date and time on the system.
So if the users are in the US and the region on their system is set to US it will automatically format as mm/dd/yyy hh:mm:ss.
Idrissshatila
Super User
2 years ago