This is a really quick tip just for myself to save the script where I can easily get to it, this time a quick way to output the duration of a PowerShell script. When a script takes longer than expected, in my mind I am waiting HOURS for it to complete but it is probably just a minute or two. I’ve run into this before, where I spend WAY too much time trying to locate a good, easy way to output the duration of a script. Without further ado, here’s the PowerShell code:
Tag Archives: Duration
Dynamics 365 Business Central: Working with Duration Data Type
Recently, I was asked how to change the output format of Duration data type, how to convert the unit to hours or minutes, etc. So, today I would like to briefly discuss Duration data type in Business Central.