Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem 

Usually when exporting time duration information this comes in milliseconds. Here you will find a simple formula using javascript, to convert milliseconds into days, hours, minutes, and seconds.

Solution

This follow notation has javascript embedded.

...

  hour = hour % 24; day + " days " + hour  + " hours " + minute + " minute " + seconds + " seconds"}

Link for related documentation

Here you will find information about using Javascript in Xporter.

...