Versions Compared

Key

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

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=Interval+to+hours+function+-+1222738144
widthauto

Excerpt
nameConv

Convert the interval value from a worklog or other source to hours.

Code Block
function intervalToHours(interval time) {
    int m = time["TOMILLIS"];
    int hours = m/(1000*60*60);
    return hours;
}
We've encountered an issue exporting this macro. Please try exporting this page again later.