- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Convert time AM/PM into duration (in minutes)
Dear JMP users,
I need to create a column for time in minutes, which correspond to the duration considering the first Date as the starting point).
Dates were given in h:m:s AM/PM.
Do you know which formula I need to use ?
Thanks
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Convert time AM/PM into duration (in minutes)
The formula is pretty straight forward
:Time - :Time[1]
I have attached an example data table
Jim
5 REPLIES 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Convert time AM/PM into duration (in minutes)
The formula is pretty straight forward
:Time - :Time[1]
I have attached an example data table
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Convert time AM/PM into duration (in minutes)
It works ! Thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Convert time AM/PM into duration (in minutes)
Or you can use MINUTE() keyword to achieve the same result
Thuong Le
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Convert time AM/PM into duration (in minutes)
@ ThuongLe , Thanks for your answer, however the Formula "minutes" gives you minutes for each corresponding date without converting number of hours into minutes, and also its does not calculate the duration of time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Convert time AM/PM into duration (in minutes)
Sorry, I misread your request
Thuong Le