Number to Minutes Conversion

Hi,
I have a requirement wherein I get the column values as numbers which represent time.
Example : 923 which corresponds to 09:23
               1000 which corresponds to 10:00
I need to find the differnce between the two times and represent as minutes.
In the above case it would be  37 minutes. Please guide me through a possible way to achieve this in info view.
Thank you,
boe user

Hi,
Do the following.
1.Create 2 variable to format the timing like hh:mm:ss
2.Use the below formula
=
ToNumber( Substr( FormatDate( [Most recent timestamp] ;"HH:mm:ss" ) ; 1 ; 2 ) ) * 60 * 60 +
ToNumber( Substr( FormatDate( [Most recent timestamp] ;"HH:mm:ss" ) ; 4 ; 2 ) ) * 60 +
ToNumber( Substr( FormatDate( [Most recent timestamp] ;"HH:mm:ss" ) ; 7 ; 2 ) )
ToNumber( Substr( FormatDate( [Oldest timestamp] ; "HH:mm:ss" ) ; 1 ;2 ) ) * 60 * 60 +
ToNumber( Substr( FormatDate( [Oldest timestamp] ; "HH:mm:ss" ) ; 4 ; 2) ) * 60 +
ToNumber( Substr( FormatDate( [Oldest timestamp] ; "HH:mm:ss" ) ; 7 ; 2) )
) / 60 +
( DaysBetween( [Oldest timestamp] ; [Most recent timestamp] ) * 24 * 60 )
This will work defenetly.
Regards,
Shiva Kumar G.C

Similar Messages

  • How to get the number of minutes or hours from date arithmetic ?

    Thanks in advance,
    I have two date fields that I would like to derive the number of minutes or hours via the following:
    select start_date - end_date from dual;
    How do I get HH:MM results ? Thanks

    If greater than 24 hours you'll need to calculate the hours and minutes as numbers individually. (You can then display them in whatever format you choose)
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select to_date('6-10-2008 08:00','DD-MM-YYYY HH24:MI') as from_dt, to_date('7-10-2008 12:30','DD-MM-YYYY HH24:MI') as to_dt from dual)
      2  --
      3  select from_dt, to_dt, to_dt-from_dt
      4        ,to_char(trunc(sysdate)+(to_dt-from_dt),'HH24:MI') as hrs_mins
      5        ,trunc((to_dt-from_dt)*24) as hrs
      6        ,trunc((((to_dt-from_dt)*24)-trunc((to_dt-from_dt)*24))*60) as mins
      7* from t
    SQL> /
    FROM_DT           TO_DT             TO_DT-FROM_DT HRS_M        HRS       MINS
    06-OCT-2008 08:00 07-OCT-2008 12:30        1.1875 04:30         28         30
    SQL>

  • 6 dropped calls in 45 minutes conversation

    Yesterday going and coming form work (in New York- Staten island to Brooklyn
    )I had 6 dropped calls in 45 minutes conversation, that never happen to my iphone before, well occasionally I did get some dropped calls, but not as much as yesterday.
    It was pretty weird, I did the reset of the phone and didn't fix the problem.
    I'm guessing something happened with the signal(network)
    Does this happen to any of you guys???

    i live in a suburb of Chicago, att's map shows me in a 3g area, but for the past week i rarely have an Edge connection, and when i have it on 3g i get booted to edge while on safari/maps, and if i make a call on 3g i get call failed everytime(as soon as someone picks up), which is making me wonder, and id like an explanation besides using just edge, the point to paying the extra money for 3g if i cant use it.....
    so id have to say i am having the same problem.
    conclussion- i want to switch back to the orignal iphone

  • Okay, let's say you bought an album and there are a few songs on there where you only have half the song(the song just stops after a number of minutes/seconds). What do you do, and can you re-download these songs?

    Okay, let's say you bought an album and there are a few songs on there where you only have half the song(the song just stops after a number of minutes/seconds). What do you do, and can you re-download these songs?

    How to report an issue with Your iTunes Store purchase

  • Double billed for same number 1 minute later

    Got a skype number, took $18 from skype credit. One minute later, I got anotehr email saying they took $18 from my credit card. Both posted. Same number. What do I do?

    Hi, Jonathanaf1, and welcome to the Community,
    Please pardon my creating sentences out of hyperlinks; in this instance, it just works!
    Please contact Skype Customer Service to request a refund.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Is there anyway to increase the number of minutes to your plan without changing the rest of your plan?

    Is there any way to increase the number of anytime minutes for your plan without changing the rest of your plan?

        CBaker13,
    An important question. Most calling plans established by Verizon Wireless are designed to cover calling plan minutes as part of your calling plan rather than a separate feature. You can generally keep most other features if you change your calling plan if that is what you are concerned about.
    Maybe I can provide a better answer with some details and make a recommendation to you. Could you advise us what calling plan you currently have? What specific concerns do you have regarding what features you might lose?
    BrianP_VZW
    Follow Us on Twitter @VZWSupport

  • Facetime incoming audio fails after 50 minute conversation... why?

    Not only Facetime, but Skype will loose incoming audio if the conversation exceeds 50 minutes (approximately).  Outgoing audio and  video in / out aren't affected.  The 'fix' is to restart the app.  This happens 100% of the time.  The failure is always the same... incoming audio becomes progressively more choppy until it is unintelligible  The progression from perfect audio to unintelligible audio take about 30 seconds.   Audio I/O is via USB using a 'Focusrite Scarlett 2i2' audio interface, but have had the same problem with a Behringer and an Edirol USB interface. Any idea what might be going wrong?

    I have a similar problem with FT audio, except that in my case the problem seems localized to an iPad 3G that has problems SENDING  audio to an iPad 2G.
    We switched to FT a couple of months ago because of poor quality when using Skype, and FT was noticeably better for the first few calls. However, we have now started getting loss of audio from the iPad 3G after 5-10 min. In one case, the audio returned for 5-10 sec., but then never came back.
    We now switch to Skype when this problem occurs; the quality is not so good, but the audio does not drop out.
    The owner of the iPad 3G has had similar problems in other FT calls.
    Does anyone have any ideas as to why this might happen? Could marginal upload bandwidth at the IPad 3G end cause this? (It seems unlikely; I would expect FT to shed video before audio so that the users could still communicate effectively.)

  • Number to Date conversion

    Hi, in my answers report date is displaying as 20,071,224.0 , i want to convert this number to Date format like MM-DD-YYYY, this is not a Time Dimension. do we need to convert this column in RPD or can we do it from Answers, Please help me on this.
    OBIEE 10.1.3.4.1

    i tried using to the below similar query but getting the following error
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 12801, message: ORA-12801: error signaled in parallel query server P041, instance omidrl020:DOBI1 (1) ORA-01861: literal does not match format string at OCI call OCIStmtExecute
    [nQSError: 10058] A general error has occurred. [nQSError: 22025] Function Cast is called with an incompatible type. (HY000)
    SQL Issued: SELECT "PT"."PT Description", "PT"."QTD Pay Item Amount", "PT"."YTD Pay Item Amount", "PT".PAY_ITEM_AMT, "PT".PAY_DT_WID, "PT".PAY_DT_WID, "Teammate Attributes"."Teammate Name", "Teammate Attributes"."Teammate Number", CAST("PT".PAY_DT_WID AS DATE) || '-' || CAST("PT".PAY_DT_WID AS DATE) || '-' || CAST("PT".PAY_DT_WID AS DATE), Time."Month", Time."Year" FROM
    PAY_DT_WID column type is DOUBLE in rpd, which is the type we need to use with the CAST function, Please help me

  • Number to word conversion

    wut is this 'j','jsp' stands for
    can anybody explain me this format specifier...
    SQL> select to_char(to_date(123,'j'),'jsp') from dual;
    TO_CHAR(TO_DATE(123,'J')
    one hundred twenty-three
    SQL> select to_date(123,'j') from dual;
    TO_DATE(1
    03-MAY-12

    A Julian date is the number of days since January 1, 4712 bc. Julian dates allow continuous dating from a common reference. You can use the date format model "J" with date functions TO_DATE and TO_CHAR to convert between Oracle DATE values and their Julian equivalents.
    Example
    This statement returns the Julian equivalent of January 1, 1997:
    SELECT TO_CHAR(TO_DATE('01-01-1997', 'MM-DD-YYYY'),'J')
    FROM DUAL;
    TO_CHAR
    2450450
    jsp stands for julian spelled out.
    So in your example you first tell that 123 is a julian date and than convert it to a character string spelled out.

  • My messages sometimes take a number of minutes to ...

    Now before I say anything I want to clarify that prior to this I had not updated in over half a year. Infact I updated when I noticed the problem which fixed nothing. The group has six people in it including myself and for some reasojn sometimes when I try to send messages it can take minutes to send when othertimes it works instantly. It tends to mess up more with longer messages. I'm in another group which is pretty much identicle and I don't have this issue and I can talk to others fine when not in a group. I can't exactly make a new group either because it;s an old skype group so you have more contyrol over it (apparently).

    Why did you give your granddaughter the password?
    FOR ASSISTANCE WITH ORDERS - iTUNES STORE CUSTOMER SERVICE
    For assistance with billing questions or other order inquiries, please refer to our online support page by clicking here: http://www.apple.com/support/itunes/store/. If you cannot find the answers you are seeking in our robust knowledge base, you can contact us by visiting the following URL http://www.apple.com/support/itunes/store/, clicking on the appropriate Customer Service topic, then using the contact button or email form at the bottom of the page. Responses to emails will be provided as soon as possible.
    Phone: 800-275-2273 How to reach a live person: Press 0 four times
    Hours of Operation: Mon-Fri: 9am-5pm ET
    Email: [email protected]
    How to report an issue with Your iTunes Store purchase
    http://support.apple.com/kb/HT1933
    iTunes Purchase Problems: How to Report a Problem to iTunes Support
    http://tinyurl.com/7tscpa7
    How to Get a Refund from the App Store
    http://gizmodo.com/5886683/how-to-get-a-refund-from-the-app-store
    Canceling a Digital Subscription
    http://gadgetwise.blogs.nytimes.com/2011/10/14/qa-canceling-a-digital-subscripti on/
     Cheers, Tom

  • Minutes conversion issue

    Hi all,
    To convert the result value(net_timespent) into minutes,am using the following option:
    ROUND(sum(net_timespent)/60,2) net_time
    Am getting the value as,
    2.89,6.79,1.77,etc...
    Clearly seen these values are incorrect. We have only 60minutes for 1 hr.But we are getting here as 2.89,6.79,etc...
    so,these values are incorrect.
    So,I need to show 2.89,6.79 as 3.29,7.19 respectively...Becuase >60 for minutes is invalid value.
    Kindly provide me the solution for this.
    Thanks,
    Lakshmi.

    Assuming 2.89 value is 2.89 hours, it implies that it is 2 hours 53 minutes and 24 seconds.
    Something like the following can be used to display it in time format:
    SQL> SELECT   2.89 hrs,
      2           '2:' || TO_CHAR (TRUNC (MOD (2.89, 2) * 60)) || ':'
      3           || TO_CHAR (
      4                 MOD (MOD (2.89, 2) * 60, FLOOR (MOD (2.89, 2) * 60)) * 60
      5              )
      6              in_time_format
      7    FROM   DUAL
      8  /
           HRS IN_TIME
          2.89 2:53:24
    SQL>Edit: Sigh!!! Mbk's method is simpler.....
    Regards,
    Jo

  • Minute Conversion

    Hello,
    I am looping over a record set that displays the
    minutes/seconds value of a date/time string. A particular record
    may look something like this: 6:22.
    At the end of the column, I add up all the minutes and come
    up with something like this: 161.
    Question: How in God's green earth can I use CF to convert
    161 into normal accurate hour:mm format? The correct answer should
    be 2:41 (2 hours and 41 minutes).
    Your help is greatly appreciated,
    Mike

    Correct. It is because of the funky peculiarities that enter
    the picture due to the way time has to be handled. I could see this
    as an excellent UDF when I finally get it finished.
    Also, life would be MUCH easier if SQL Server correctly
    handled datetimes. It automatically rounds UP. Therefore, if you
    pull back a long record set of minute:seconds values, the total
    will be skewed at the end unless you implement something to take
    that into consideration.

  • NUMBER TO WORDS CONVERSION

    AOA ALL
    Dear i want to convert a numeric value for eg:'1000' into words that is 'ONE THOUSAND' in a report.does any body knows a method or function for that available in developer or any other way...
    do tell me
    thx

    Hi,
    See the link
    converting number to words(100==one hundred)
    Provided a function to convert number to words
    Thanks,
    Oracle Reports Team

  • Why does facetime quit after a minute conversation?

    I recently was booted from the free facetime on my macbook and bought the new upgrade application. Now all of my conversations quit automatically after 60 seconds. How can I talk unlimitedly?

    Apparently, long file names in PhotoShop have been an issue under
    certain circumstances with more than a few user. I remember reading
    about these in some MacFixIt user feedback in the past year or so.
    A cross-section of near-matches appeared in a search; some do not
    apply and others mention the other more common occurances in a
    few versions of PhotoShop. Not many shown are (only) scanning-related.
    [ PhotoShop Longnames issue - answer ]

  • Number of free conversions to PDF allowed

    Hi, using acrobat.com free facilities for first time a screen tells me I am allowed five free conversions to PDF. Is that five per session, per day... or just 5 in total ever, as a trial? Thanks anyone! - Tony in Devon

    Hello Tony,
    Thanks for posting. A free account will allow you to convert 5 PDF files over the lifetime of your account; it is not a session or monthly quota. If you're considering an upgrade for your account, you may want to look at the pricing page, which delineates the features of subscription accounts:
    https://acrobat.com/pricing.html
    Please let me know if you have any more questions, and I will be happy to answer them for you!
    Best,
    Rebecca

Maybe you are looking for

  • Help needed for building report with execution method Java Concurrent prog

    Hi, I have saw a report like this: The report has executable "XML Publisher Data Template Executable", short name as "XDODTEXE", application "XML Publisher",execution method "Java Concurrent program". Also the report has a XML publisher Data Template

  • My skype account was hacked!! how can I get my mon...

    My Skype account was hacked few hours ago, an online number was bought, plus a lot of credit was used. How can I get my money back ? I don't see contact support anywhere..please help

  • Do Express VI's attach to specific hardware?

    I'm teaching introductory LabVIEW programming to undergraduate students. We're using Express VI's to read input from USB connected cDaq hardware. We have ten identically configured computers, including the LabVIEW software and USB connected hardware.

  • Parameter mapping for an action

    can anybody help me with this parameter mapping. how we can pass a parameter for an action. and how to use that parameter in the implemented coding.

  • Synching aperture across 2 macs

    This post is really to aid others who may have the same problem I have had (and the other posts about this subject are too old for me to be able to post a reply). I have a MBP and a Mac pro, and wanted to sync the libraries on each machine, using my