Calculating End Time

Post Author: warrior0527
CA Forum: Formula
I have a Start Time field (24 hour format) and Duration field (in minutes) and want to calculate the End Time of a meeting. I have not been able to figure out which Time variable to use to make the calculation. Can anyone help?
Thanks

Post Author: SKodidine
CA Forum: Formula
This formula will display the End time as 11:30:00AM.
timevalue() + ( * 60);
If you want the end time displayed as 11:30 AM then;
totext((timevalue() + ( * 60)), "HH:mm tt");
Where the start time is of the format "10:45" and Duration is the minutes which is numeric.

Similar Messages

  • Calculate End Time from a Start Time and Minutes Allocated

    Hello,
    I have a meeting form which needs to have the finish time calculated from a start time and allocated time (in minutes).
    The allocated time is a text field with the default of "00:00".  The user can then enter the number of minutes for the agenda item to take.  eg 00:20 would be 20 minutes.
    The start time is a date/time calculated field which shows the current time after the allocated time has been entered. The formcalc script is :
    form1.ActionsHeaderFrame.ActionsStartTime.rawValue
    = num2time(Time(), TimeFmt(1))
    The Finish Time field is a calculated date/time field to add up the start time and allocated minutes.
    The formcalc script is:
    var Min1 = ActionsTime.rawValue
    var Start1 = Time2Num(ActionsStartTime.formattedValue, "h:MM A")
    form1.ActionsHeaderFrame.ActionsEndTime.rawValue = Min1 + Start1
    The end time is showing as a number, and I need help in converting to a time.
    An example is as follows:
    If the text field for allocated time as 00:20  and the start time date field shows 4:23 PM the calculated End time field is showing 22980001.
    Any advice or assistance with this script would be most appreciated.

    Thank you very much for your assistance.
    I have changed the allocated time field (ActionsTime) to a binding time field.
    In the End Time Field (ActionsEndTime) I have changed the formcalc function as follows:
    var Min1 = Time2Num(ActionsTime.formattedValue, "HH:MM")
    var Start1 = Time2Num(ActionsStartTime.formattedValue, "h:MM A")
    $ = Num2Time((Start1 + Min1), "H:MM A")
    The result with user input:
    Allocated time field input of 00:10 which is equal to (10 minutes)
    Start time field 10:41 AM
    End time Field result shows 23:51 PM
    Can you please advise where the formula needs to be revised to show the correct end time? 
    Thank you

  • "Export audio of selected range markers to separate files" icon is grayed out in Markers window. Tracks show start times but no end times, yet duration is calculated.

    I have one big wav file of segued tracks as a mixdown and inserted CD markers where I want marked tracks. "Export audio of selected range markers to separate files" icon is grayed out in Markers window. Tracks show start times but no end times, yet duration is calculated. Why can't I export these marked portions as separate files?

    the markers durations need to be configured, there is an easy way to do this using your existing markers.  click the start time of marker 2, this should change to edit mode to type in a new number, just copy the numbers cmd/ctrl+c. then click the end time of marker 1 and paste, cmd/ctrl+v.  now repeat for the rest of the markers, and on the last one enter a value for the end time or click and drag on the duration to manually extend it. once all the markers have a duration, the button should be active to export.

  • Calendar View: Unable filter Recurring Event by Start/End Time and Group by Recurring Event View

    Hi All,
    I have just found several issues with Calendar View from WSS 3.0:
    Unable to filter by [Start Time] and [End Time]
    I am not sure why these 2 columns doesn't appear in the Filtering column in the View Settings. The workaround found in the internet is to create calculated column for Start Time and and End Time. However, it doesn't work for Recurring Event, the calculated column will show only first recurring event Start Time.
    Unable to use "Group By"
    When I create new view in Calendar using format: "Standard View, with Expanding Recurring Events", there is no option to specify "Group By". Anyone knows how to show all recurring event in List view and grouped by Start Time (or any other column).
    Thank you and apprecate for any idea.

    Hello,
    I got this from a colleague of mine so I can't take credit for it but here might be a possible workaround:
    1. Create two new Columns called Start Filter and End Filter.  Make these columns Calculated Columns with formulas of [Start Time] and [End Time] respectively.  The columns should be of the Date and Time\Date and Time type and should not be displayed on the Default View.
    2. Click Advanced Settings and choose Yes to the question "Allow management of Content Types" in the Content Types section.  Click OK.
    3. Click on the Event Content Type.  Open the two columns created in step 1 and select "hidden" for both of them.  Click OK.
    4. Back at the list settings create a new view or edit an existing view.  When you get to the filter section choose "Show items only when the following is true" and select the following:
    Start Filter
    is less than or equal to
    [Today]
    And
    End Filter
    is greater than or equal to
    [Today]
    5. Click OK to save the view.
    6. Open the List view web part that is displaying the recently changed calendar and change the view to the newly created or newly edited view.  Click Apply, OK.
    -Aseem Nayar
    This posting is provided "AS IS" with no warranties, and confers no rights

  • Contract Value Calulation based on Start & End Time

    Hello Friends,
    My client is into Vessel Hiring & the Vessels are given on hire for fixed period (with clear start & end dates & time). 
    For the above scenario we have a Periodic Contract to BIlling cycle which generates Invoices for every month. while creating the Contract we enter Basic Price as Day-Rate (Calculation type in Condition - O - Quantity - Daily Prices)
    Thus the system automatically calculates the Basic Price Condition value based on number of days in any month.
    Now the issue here is the client wants system to take Start & End time into consideration. In the Contract header - Contract Data tab we have developed two additional fields (Z-Fields) that capture start time & end time for every Contract.
    So, we want system to calculate the Basic Price Condition value based on the Contract start date + Contract Start time.
    Example :
    1. Contract start date - 25.03.2010 & Start time = 12:00 noon. Basic Price = Rs. 10,000 per day.
    2. In the Monthly Invoice, system would calcualte the Basic Price as Rs. 70,000 (7 days i.e. 25.03.2010 to 31.03.2010)
    But here the client wants system to consider Start Time & determine Value as Rs. 65,000 as the Contract started on 12:00 noon on 25.03.2010.
    Can anyone tell me how to achieve this?
    I guess we should develop some routine (in VOFM) & apply it in Pricing Procedures.
    But can some expert guide me on the logic of the routine & exactly where to apply the same in Pricing Procedure...
    Thanks,
    Jignesh Mehta

    Hi,
    Develop routine and make combination
    if start date is xyz  and start ime is less that 12 then price is so on so
    if date start date is xyz and satrt time is more that 12 then price is so on so.
    Hello I am not ABAPer, still tried to suggest you,don't mind for my suggestion
    Kapil

  • Is there a way I can have my form calculate a total time from beginning and ending time?

    Is there a way I can have my form calculate a total time from beginning and ending time?

    Sorry, but Formscentral doesn't support either a timer function or any kind of calculation. You might be able to do this if created your form in PDF. For help with PDF form creation in Acrobat I suggest you repost your question to the Acrobat Forum.
    Andrew

  • Calculating total time.

    I'm somewhat new to using spreadsheets. Basically I just want to keep track of the time I spend doing a particular job. So I'm tracking my start time, end time, and then I want to calculate the total time spent. Thanks.

    Yes, I thought about that. But if you start at say
    9pm and end at 2am you would get the incorrect result
    of 7 hours. I think I have to convert the time to
    something else before the math takes place. But I'm
    not sure how that would work.
    I'm not sure how you managed to subtract 9pm from 2pm and get 7 hours. When I try 2am - 9pm, I get #VALUE!, as AppleWorks reads both 'times' as text, and cannot use Text values in a formula that requires numbers. AppleWorks is a bit fussy on what it considers to be a number.
    Using the default alignment, you can recognize what AppleWorks thinks is a number—it will be aligned to the right of the cell—and what AW considers to be Text—it will be aligned to the left of the cell. In the case of Time, you're better off using the 24 hour clock, and entering one minute betore 2pm as 13:59.
    The Mac clock's unit of time is the (24 hour) Day, and all times entered are regarded as the portion of one day that has elapsed up to that time. When you do the subtraction, the result is also a time of day. For start and end times within the same calendar day, simply doing the subtraction will give a result that can be read as the (correct) elapsed time. For the example times you gave, the 'correct' result is also visible:
    02:00 - 21:00 = 05:00
    But the actual numbers behind that 05:00 result and the two times used to get it are the portion of the current day that has passed up to each of the times entered, and the difference obtained when you do the subtraction:
    0.0833 - 0.8750 = -0.7917
    If you only want the (readable) result for a single day, that's not a problem. But if you want to add the results to get a total time for a week, you need to (make AppleWorks) do some additional math. In simplest terms, you need to add 1 to the end time if the end time is on the calendar day after the start time. There's an explanation of this below, which you should read for a better understanding of Time and the Mac, but which isn't necessary to use the formula.
    The formula assumes your start time is in column B, your end time in column C, your formula reporting time worked is in column D, and that you will enter times in rows 2..6, and calculate the week's sum in D7
    Enter in D2, and fill down to D6: =IF(C2,C2-B2+(C2<B2),"")
    Format these cells to display as Time.
    Enter in D7: =24(SUM(D2..D6)) —to report the result in hours (eg. 25.678)
    Format the cell to display as Number, General.
    or
    Enter in D7: =INT(24(SUM(D2..D6))&":"MINUTE(SUM(D2..D6)) —to report the result as hours and minutes
    Note that the second option for D7 produces a text string which will not be useable in further calculations.
    This is Text, so no Number formatting is necessary.
    Regards,
    Barry
    Time and the Mac
    The Mac clock tracks time in Days and Fractions of a Day, starting at midnight, January 1, 1904.
    Nine PM today, May 8, 2006, represented as a decimal number, is 37383.875. Two AM tomorrow, May 9, 2006, is 37384.0833333333.
    An AppleWorks spreadsheet cell (or database field) formatted to display as Time will ignore the whole number part of those numbers, and interpret the decimal fraction part as Time of Day, and display the result in the Time format you have chosen for the cell.
    A cell (or field) formatted to display as a Date will ignore the fractional part of the number, and display the whole number part in the Date format you have chosen.
    When you enter a time, the result is the time of day on January 1, 1904. When calculating elapsed times where start and end times cross the midnight boundary, you need to add 1 (day) to the result to compensate for the change in day and get a result that can be used in further calculations. That's what the "+(C2<B2)" part of the first formula above does—adds 1 if "(C2<B2)" is TRUE or adds 0 it it's false.
    If you add times, the result is 'correct', but if the total reaches 24 hours, the displayed result will appear incorrect as a Time formatted cell ignores the whole number part of the actual result (eg. 27 hours, or 1.25 days), will display as 03:00, the same as 3 hours, or 0.25 days. You can convert the result to hours and fractions of hours by simply multiplying the result by 24, and displaying it as a Number rather than as Time.
    B

  • How can I see Calendar event END times at a glance?

    How can I display my Calendar event titles exactly as I type them? I do not want Calendar to remove duration from the titles of my events. Otherwise I can't see event END times at a glance in month view; only start times. How can I "trick" Calendar to just show my titles as I type them - as I always could before I upgraded. I used to be able to enter "Seminar 9am-5:45" and it would appear that way regardless of how or what I chose to enter (or not enter) for duration.
    I am running OSX 10.9.3.

    It's a bit weird, but if you type in the time info TWICE into the event title then Calendar uses/deletes one of them to populate the event details and leaves the other.
    Apple - Mac OS X - Feedback

  • Editing Loop Start and End times via automation / MIDI controllers?

    I'm trying to play a sample in EXS24 and have the Sample Start, Loop Start and End times manipulated over the course of the song. I've tried to open up the EXS sample editor, click on the numerical value of the Loop Start, and then attempt to Learn Automation. All it does is assign the knob for the instrument Volume Level. Is there any way to do this? It's basically how an Akai S612 works: http://www.vintagesynth.com/akai/s612.shtml
    I switched gears and tried it also with Battery, and there's a way to map the Start and End times in there, but it's not seeming to work as I've intended. I can't seem to make the loops move as they should and there's ways to use up to 4 loops, but not a way to target each loop's start and end points via separate controllers.
    I could use my S-612 [and probably will], but in moments where I don't have one available, I'd love to find a solution to this.
    Thanks,
    +odd

    Anyone with any thoughts? would be great to solve this.

  • Is there a way to enter an event time in Calendar as a reminder for me and NOT have Calendar erase it in the info as it reads it into the event start and end times?

    Calendar can recognize and derive event start and end times from the text description entered.  However, when it seizes on a time (start and/or end) and automatically enters it as the start and/or end time, it also (sigh) deletes the time from the text.  I enter the times as reminders for me, how can one prevent them from being deleted by Calendar??

    I am having the same darn problem. I really dislike this auto feature in Calendar.
    Can anyone help us please?

  • How do I get Calendar on Mac to stop auto correcting the end time?

    I input my work schedule into Calendar manually every week and I copy and paste one event to save some time. One annoyance I run into is when I'm altering the time from say, 10am-6pm, to 4pm-10pm. As soon as I switch the start time from am to pm, it automatically adjusts the end time to 10am on the following day. So then I have to go back and manually change it from an event spanning 2 days to an event that should only span 1 day.

    This works for me:
    To turn off Phone Calling on your iPad or iPod Touch, go to FaceTime under Settings and switch off iPhone Cellular Calls. On your Mac, open the FaceTime app, then go to Preferences under FaceTime, and tap Settings. From there, switch off the iPhone Cellular Calls option.
    Found it here:http://www.pocket-lint.com/news/131449-why-s-my-mac-taking-my-iphone-calls-how-t o-turn-off-apple-continuity
    I realise it doesn't quite solve the issue of FaceTime "knowing" whether the call has already been answered on another device, which I agree is a flaw. But in my case, I don't want to receive regular phone calls on my Mac at any time. Only the very rare FaceTime call. So turning off cellular calls is a solution of sorts.

  • When using my ipad2 in calendar landscape, month mode, I now see my end time of appointments running over into the next day. (i.e. ends at 1:00am now seen on next day as one long bar). any way to hide that?

    I just updated to ios6. My month view in calendar now shows the start time and end time of appointments running over into the next day. I.E. start appointment on Friday at 5:00 pm, end it at 1:00am Saturday moring. I used to only see the one entry on Friday. Now the appointment runs across both dys showing start and ent time. Can I only show start ttme on month view as I did before?

    Wow! Sorry for all the typos!

  • Month View:start and END times

    Here is feature that i really need In the Month view: The option to have start and end times displayed. Now that their is no info drawer i have open and info drawer to see when the event is supposed to end. I have a lot of events in a day and some are for me and some are for my company and some are for my wife.
    I need to see the start and end time quickly. Outlook does it.
    Please make iCal do this incredibly useful view option.

    Start times are still viewable.
    It is a click box in the preferences that says show time in month view.
    What i need is the END time as well.
    I learned that the best place for this kind of discussion is on the feedback line for ical
    http://www.apple.com/feedback/ical.html
    Just tell them the features you need or miss. Please click the link and tell them what you think of iCal.

  • End times in month view: after 5 years of asking, will we ever get it?

    About a year ago, I noted that a quick search of these forums turned up 28 requests dating back to 2005 requesting an extremely simple feature every paper calendar has: the ability to show an events' end time in addition to its start time.
    I had forgotten all about this issue until my wife started using iCal to manage her calendar after buying an iPhone. Her first question: "why can't I see when something ends in month view?"
    Great question. I've added another request to this feature http://www.apple.com/feedback/ical.html. If you're frustrated by this too, please visit the URL above and request that Apple add this ability.
    from http://discussions.apple.com/message.jspa?messageID=10197756#10197756:
    Re: how to print a monthly calendar with start and end times
    Posted: Sep 13, 2009 9:10 PM in response to: Granite Apple
    It looks like we're not alone in looking for this feature. I found 28 other posts to this forum alone asking for this functionality (dating back to August 2005).
    I know Apple likes to be different and elegant with their apps, but until iCal adds this trivial feature, it's not an adequate replacement for even paper calendars.
    Do the engineers in Cupertino not care how long their appointments last? Why not at least let users show the end time on appointments as an option in month view?
    The most common advice in response to this post is to provide feedback here:
    http://www.apple.com/feedback/ical.html
    In case anyone is interested in seeing what others have said about this topic, here are the posts I found after doing a few quick searches (I'm sure there are plenty I missed):
    http://discussions.apple.com/thread.jspa?messageID=1030412&#1030412
    http://discussions.apple.com/thread.jspa?messageID=1030751&#1030751
    http://discussions.apple.com/thread.jspa?threadID=1152286
    http://discussions.apple.com/thread.jspa?messageID=1155931&#1155931
    http://discussions.apple.com/thread.jspa?threadID=1362352
    http://discussions.apple.com/thread.jspa?threadID=1366825
    http://discussions.apple.com/thread.jspa?threadID=1381246
    http://discussions.apple.com/thread.jspa?threadID=1484562
    http://discussions.apple.com/thread.jspa?threadID=1514356
    http://discussions.apple.com/thread.jspa?threadID=1528581
    http://discussions.apple.com/thread.jspa?threadID=1682474
    http://discussions.apple.com/thread.jspa?threadID=1712206
    http://discussions.apple.com/thread.jspa?threadID=1724963
    http://discussions.apple.com/thread.jspa?threadID=1807661
    http://discussions.apple.com/thread.jspa?threadID=207083
    http://discussions.apple.com/thread.jspa?threadID=2109562
    http://discussions.apple.com/thread.jspa?threadID=2136612
    http://discussions.apple.com/thread.jspa?messageID=2401772&#2401772
    http://discussions.apple.com/watches!add.jspa?forumID=903&threadID=340438
    http://discussions.apple.com/thread.jspa?threadID=340499
    http://discussions.apple.com/thread.jspa?threadID=349227
    http://discussions.apple.com/thread.jspa?messageID=4523541&#4523541
    http://discussions.apple.com/thread.jspa?messageID=5443615&#5443615
    http://discussions.apple.com/thread.jspa?messageID=6438793&#6438793
    http://discussions.apple.com/thread.jspa?messageID=6561666&#6561666
    http://discussions.apple.com/thread.jspa?messageID=7032709&#7032709
    http://discussions.apple.com/thread.jspa?messageID=7236371&#7236371
    http://discussions.apple.com/thread.jspa?messageID=8158161&#8158161
    http://discussions.apple.com/thread.jspa?messageID=8691178&#8691178

    One thing I must add.
    I'm giving switching to Google Chrome/Chromium a [b]lot[/b] of serious thought, now. It might actually be the better open source browser. Why?
    I've discovered that if I go into chrome://flags, I can search for 'HiDPI support' and ... [b]toggle it to disabled[/b]. Making Google Chrome behave as it did before High-DPI support was a thing. What a magical feature!
    Apparently this feature is [i]not[/i] impossible to implement because Google managed it. Why can't Firefox have an about:config option that [i]completely disables High-DPI[/i]??
    Seeing that Google has done this makes me feel all the more hated by Mozilla. And it creates links between Mozilla and the likes of Apple in my mind.

  • Start time/end time columns in the weekly overview of CATS regular

    Hello,
    Does anyone know if it is possible to have the start and end time columns in parallel of the duration column in CATS regular (iView "record working times" in ESS) in the weekly view. Those columns are available in the daily view but we want them in the weekly view. This is possible on the backend but the question remains for the ESS.
    Thanks a lot for your help
    KR
    Gaëlle

    Dear Gaëlle,
    My client have this requirement as well. So have you found your way to configure it?
    Please let me know..
    Thanks in advance
    Regards,
    Bryan

Maybe you are looking for

  • Transfer of data from excel to Oracle database? Please reply as soon as possible

    Hello: How can I transfer data from MS Excel into Oracle8/8i database. Please give me step by step instructions or necessary code required Thank you Dinakar

  • Can You Set-up a Sub mail Address Folder?

    I'm switching from Microsoft Outlook Mail to the Apple address and I wondering if there is a way to set-up a sub address folders like I can do in Outlook. See example? Business - Services for My Business - My customers - Personnel services - Etc. Any

  • RDS with Report Builder

    RDS with Report Builder does not work automatically. I must first wake RDS up by doing something like accessing the query in the Report Builder directly. I'm using CF 7.02, Builder Build 144677 with the latest version of SQL Server 2005 and the SQL d

  • SSD cable to Envy 17-j029nr

    I need to buy a cable to install an SSD in my Envy 17-j029nr. HP ENVY 17 Notebook PC Product: E0K90UA#ABA Warranty: 2y2y0y Model: 17-j029nr Rev: 1968 - 100 Questions: What is the part number? Where can I buy it? Is there a supplier other than HP? Any

  • Where is the source for com.sun.media.rtp?

    Is the source for com.sun.media.rtp available for download? I downloaded the JMF source code, but, it's not there. I have downloaded the source for J2SE and it's not there. Where is it? Greg Silverman NGC San Jose, CA