Search found 9 matches

by sxpapado
Thu Jul 12, 2012 1:56 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Subtract two 24 hour times
Replies: 18
Views: 13407

Re: Subtract two 24 hour times

Just tested it. works great. Thanks again to all.

Best Regards
by sxpapado
Thu Jul 12, 2012 1:46 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Subtract two 24 hour times
Replies: 18
Views: 13407

Re: Subtract two 24 hour times

Thanks Didier and all that helped here. :D
by sxpapado
Wed Jul 11, 2012 2:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Subtract two 24 hour times
Replies: 18
Views: 13407

Re: Subtract two 24 hour times

Mark and All, the start date would be included . I guess I should have given you folks exactly what I'm trying to accomplish. I also thought this would be simple. But from working with Excel and now this, it may be more complex for a simple task. Form entry outline left to right: Date Start work Sto...
by sxpapado
Tue Jul 10, 2012 9:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Subtract two 24 hour times
Replies: 18
Views: 13407

Re: Subtract two 24 hour times

Thanks all for your reply's. Craig, actually this has to be accurate for calculations going into the next 24 hour day. So going from 10pm (22:00) to 02am (02:00) has to add up to 4 hrs and not 20hrs (or 18hrs depending on how it calculates). Will converting to seconds and using the abs function here...
by sxpapado
Mon Jul 09, 2012 8:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Subtract two 24 hour times
Replies: 18
Views: 13407

Re: Subtract two 24 hour times

Thanks, but will that work with the initial issue of subtracting a morning time from an evening time. i.e., 0200 minus 2100? An absolute difference here would give me 19 hours versus the correct 5 hours. Or am I missing something. Thanks for your help.....
by sxpapado
Mon Jul 09, 2012 2:33 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Subtract two 24 hour times
Replies: 18
Views: 13407

Subtract two 24 hour times

Hi All, Does anyone have any guidance or a script on subtracting two 24 hour time formats? For example, 02:30 minus 21:45 to come up with 4:45 or 18:46 minus 17:50 to come up with 00:56. These two main numbers would be entered into two separate fields with the result to be displayed in another field...
by sxpapado
Wed Oct 05, 2011 7:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Converting minutes to tenths
Replies: 8
Views: 5588

Re: Converting minutes to tenths

Wow, thanks guys. This is still new to me but this makes sense.
by sxpapado
Wed Oct 05, 2011 4:39 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Converting minutes to tenths
Replies: 8
Views: 5588

Re: Converting minutes to tenths

Thanks for the reply's. What I was getting at is if you have 2hours and 44 minutes (2:44) that should convert to 2.7 and not 2.8 as per the table.

I think the round command might work here. I have to try it.
by sxpapado
Tue Oct 04, 2011 6:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Converting minutes to tenths
Replies: 8
Views: 5588

Converting minutes to tenths

Hi all, is there a script for converting minutes to tenths based upon this data below? I reviewed the dictionary but didn't come up with any statements I could figure out. Thanks MINUTES TENTHS 01 .0 02 .0 03 .1 04 .1 05 .1 06 .1 07 .1 08 .1 09 .2 10 .2 11 .2 12 .2 13 .2 14 .2 15 .3 16 .3 17 .3 18 ....