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

SearchWindowsServer
Search400
  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

SearchDataCenter
SearchContentManagement
Close