Q
Problem solve Get help with specific problems with your technologies, process and projects.

Calculate time difference in minutes

I need to calculate the difference between time. For example, 3.30 AM to 4.50 AM. The answer should be in minutes, in this case its 90 minutes. Any ideas? Thank you.
You could do this in the formula language, or with LotusScript. In the formula language, subtracting two date time values returns an integer representing the time difference in seconds. You could then divide by 60 to get the value in minutes. In LotusScript, you can use the TimeDifference method of the NotesDateTime class which will return the time difference between two NotesDateTime objects in seconds as a long. Then just divide by 60 to convert to minutes.

Dig Deeper on Domino Resources - Part 2

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close