DLM Posted October 23, 2011 Posted October 23, 2011 Hello! I've Mac OS 10.6.8 with FM 5.5v1 (yes, I know I need to upgrade but bare with me on this one): I have a field named "Duration" that indicates time duration in hours, minutes and seconds, example: 0:32:11 That means 0 hours, 32 minutes and 11 seconds. I want to create a calculation field where such data is converted into minutes rounded up, examples: 0:32:11 would be converted to 33 0:56:05 would be converted to 57 1:28:19 would be converted to 89 How should the calculation be? Best!
comment Posted October 23, 2011 Posted October 23, 2011 Try = 60 * Hour ( Duration ) + Minute ( Duration ) + not not Seconds ( Duration ) This is assuming that Duration is a Time field. The result of this calculation should be Number. 1
DLM Posted October 23, 2011 Author Posted October 23, 2011 Try = 60 * Hour ( Duration ) + Minute ( Duration ) + not not Seconds ( Duration ) This is assuming that Duration is a Time field. The result of this calculation should be Number. IT WORKED! THANK YOU SO MUCH! I'll post another tough one in a bit... :-)
Lee Smith Posted October 23, 2011 Posted October 23, 2011 I have removed the duplicate post. MLM Please do not double post in the FMFOURMS. Lee
Lee Smith Posted October 23, 2011 Posted October 23, 2011 Automatic message This topic has been moved from "FileMaker Product Family → FileMaker Legacy → FileMaker.fp5" to "Database Schema & Business Logic → Calculation Engine (Define Fields)".
DLM Posted October 24, 2011 Author Posted October 24, 2011 I have removed the duplicate post. MLM Please do not double post in the FMFOURMS. Lee Hi Lee, OK, I got it on the not double-post point.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now