Skip to end of banner
Go to start of banner

Interval to hours function

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Convert the interval value from a worklog or other source to hours.
function intervalToHours(interval time) {
    int m = time["TOMILLIS"];
    int hours = m/(1000*60*60);
    return hours;
}
  • No labels