GET differences of input datetime

hi for all.
    i want to get the difference between the high and low dates  which entered from input screen , as houres and minutes.
Moderator message: date calculation questions = FAQ, please search before posting.
locked by: Thomas Zloch on Sep 6, 2010 9:28 AM

are you going to input only dates?if yes then how do you expect output in hours and minutes
please elaborate your requirement
Thanks
Bala Duvvuri

Similar Messages

  • Problem with Set/Get volume of input device with single channel

    from Symadept <[email protected]>
    to Cocoa Developers <[email protected]>,
    coreaudio-api <[email protected]>
    date Thu, Dec 10, 2009 at 2:45 PM
    subject Problem with Set/Get volume of input device with single channel
    mailed-by gmail.com
    hide details 2:45 PM (2 hours ago)
    Hi,
    I am trying to Set/Get Volume level of Input device which has only single channel but no master channel, then it fails to retrieve the kAudioDevicePropertyPreferredChannelsForStereo and intermittently kAudioDevicePropertyVolumeScalar for each channel. But this works well for Output device.
    So is there any difference in setting/getting the volume of input channels?
    I am pasting the downloadable link to sample.
    http://www.4shared.com/file/169494513/f53ed27/VolumeManagerTest.html
    Thanks in advance.
    Regards
    Mustafa
    Tags: MacOSX, CoreAudio, Objective C.

    That works but the the game will not be in full screen, it will have an empty strip at the bottom.
    I actually found out what's the problem. I traced the stageWidth and stageHeight during resizing event. I found out that when it first resized, the stage width and height were the size with the notification bar. So when I pass the stage into startling, myStarling = new Starling(Game,stage), the stage is in the wrong size. For some reason, I can only get the correct stage width and height after the third resizing event.
    So now I need to restart Starling everytime a resizing event happened. It gives me the right result but I am not sure it is a good idea to do that.
    And thanks a lot for your time kglad~I really appriciate your help.

  • I am trying to set up my apple tv on a sony KDL - 40xbr4. The remote is a sony RM-V302. I plugged it into the HDMI IN on the side of the TV but cannot find out how to get to that input. I am at a winter rental property and brought my Apple TV with me.

    I am trying to set up my apple tv on a sony KDL - 40xbr4. The remote is a sony RM-V302. I plugged it into the HDMI IN on the side of the TV but cannot find out how to get to that input. I am at a winter rental property and brought my Apple TV with me. I did check internet for solutions. The instructions I found said to use a "home button" on the remote.  There isn't one. I sure would appreciate help if someone knows a solution.  My first post - hope I did this right.

    if its anything like my Sony, theres a button top left corner that upon each press i get an audible bleep and the AV inputs come up on screen, i then cycle down to whichever input i wish to select!
    in case your remote is different, the button on my remote has a square with a slightly smaller square just overlapping the first square.
    hope that helps?
    rgds Lee.

  • How to get Difference of a Result set in reports

    Hello,
    I am trying to get difference (variance) of sales in past year and current year. Below is the report which accumulates the sales for 2013 and 2014 and also accumulates the Sales for both year , but how can we get the difference of sales in Years. Any ideas really appreciated.
    Thank you,
    Pavan

    Harish,
    I tried creating Some restriction Key figures and calculated key figures as I want this by every month as well. Not a straight forward (easy)way. I had to create many Key figures.
    I really appreciate your response.
    Thank you,
    Pavan.

  • How to get the User input of Dynamic Action confirmation message ?

    Hi Guys,
    I'm using apex 4.1,
    I have added a confirmation message box as page Dynamic Action. How can i get the user input of that confirmation pop up ?
    Thanks

    Hi,
    you don't directly get the user input. But you should still be able to get what you want. Let's assume you have a dynamic action which fires for a "Change" (or any other) event and which has two or more actions
    1) Confirm
    2) Execute PL/SQL Code
    If the user clicks Cancel/No in the confirm dialog, APEX will stop the execution of this dynamic action and not run "Execute PL/SQL Code".
    Hope that helps
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Just downloaded iOS 5 and can't get "reminders" to input new reminder

    Just downloaded iOS 5 and can't get "reminders" to input new reminders

    I was having the same problem. I followed the directions from the link you listed, but the library file in the Previous folder was dated the same as the date of my upgrade. There are no other files in that folder. I tried anyway but it did not work. Any suggestions short of individually adding them?

  • How to Calculate AGE by getting difference between two Date Fields

    HI Gems
    I need to calculate AGE from getting difference from two date fields. But when i am trying to wrte fromula as Current date - date1(some date field) then it is showing error.
    How can i get values.
    Thanks
    Manu

    You already asked this question:
    How to calculate AGE from two different date fields

  • How can i get difference in base plan and actual/current plan for a project

    Hi PS Experts,
    How can i get difference in base plan and actual plan .
    For example-
    Project1 is created for 10 days (start and end date difference).
    Now in between -project is extended/changed for 12 days .
    What is the way to get 2 days as a difference in base plan and current plan.
    Thanks
    Suraj prakash

    Hi Suraj,
    You can follow a convention that -
    (1) Forecast Start/Finish dates: Used only for Primary planning, once initial planning is done you should not change these dates.
    Now, you will copy the same dates in Basic Start/Finish dates also.
    (2) Basic Start/Finish dates: Whatever changes are done after the initial planning, you will make the changes only in Basic Start/Finish dates.
    So, in Project Planning board, if you enable Forecast and Basic dates with different color coding, you can clearly see the variation in the Project schedule.
    Hope this helps.

  • I am not getting any sound input on my microphone. There is no microphone input on my new macbook pro, so I am using my old one. Is this a problem with the new operating system? Did they simply remove any microphone software?

    I am not getting any sound input on my microphone. There is no microphone input on my new macbook pro, so I am using my old one. Is this a problem with the new operating system? Did they simply remove any microphone software?

    Check System Preferences > Sound > Output
    Make sure the correct device is selected.

  • I'm trying Facetime with my Mac Mini with OS 10.7.5 and an Acer H243HX monitor (w/ HDMI, USB). I can get the webcam-in , but even with settings in Sounds set to have the input come through the Acer monitor, I still cannot get any sound input into the Mac.

    I'm trying Facetime with my Mac Mini with OS 10.7.5 and an Acer H243HX monitor (w/ HDMI, USB). I can get the webcam-in , but even with settings in Sounds set to have the input come through the Acer monitor, I still cannot get any sound input into the Mac. Any suggestions or ideas? Thanks!

    I'm trying Facetime with my Mac Mini with OS 10.7.5 and an Acer H243HX monitor (w/ HDMI, USB). I can get the webcam-in , but even with settings in Sounds set to have the input come through the Acer monitor, I still cannot get any sound input into the Mac. Any suggestions or ideas? Thanks!

  • Get-Acl : The input object cannot be bound to any parameters

    Hi I am trying to get a list of folder and permissions for network folders and I am getting the error Get-Acl : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its
    properties do not match any of the parameters that take pipeline input?
    $Files = "\\Server\Share"Get-ChildItem \\server\share| Where { $_.PSIsContainer } | Foreach {Get-Childitem $_.FullName} | Get-Acl $Files | Format-Table -property Owner | Where { $_.PSIsContainer } | Select-Object FullName, @{Name = 'AssociatedSecuirtyGroups'; Expression = {((Get-Acl $_).Access | ?{! $_.IsInherited} | Select-Object -ExpandProperty IdentityReference) -join ', '}}

    It looks like you're mixing up some actions in that line of code.  The first Get-ACL is receiving pipeline input of all of the grandchildren of $Files, but you're also giving it the $Files parameter - that's your error.
    You're also formatting output in the middle of the pipeline, I don't think that's going to work out well for you.  When you run get-acl you also lose the directory name, so the fullname attribute is meaningless at that point.
    Maybe try something more like this:
    $Root = "\\Server\Share"
    $Results = @()
    $Folders = Get-ChildItem $Root -exclude *.* | Foreach {Get-Childitem $_ -exclude *.*} | select fullname
    Foreach ($Folder in $Folders) {
    $ACL = Get-Acl $Folder.FullName
    Foreach ($Group in $ACL.Access) {
    If (!($Group.IsInherited)) {$Results += New-Object PSObject -Property @{Folder=$Folder.FullName;Group=$Group.IdentityReference;Owner=$ACL.Owner}}
    $Results
    Note that with Powershell v4 there's a -directory parameter for Get-ChildItem that would be better than this exclude.  I work with older systems so I use older PS to avoid any pitfalls.  In this case, if you have any files without extensions in those
    subdirectories you'll pick those up as well.

  • How can get difference between 2 dates in the form of days

    how can get difference between 2 dates in the form of days

    Hi,
    Check the following program:
    REPORT ZDATEDIFF.
    DATA: EDAYS   LIKE VTBBEWE-ATAGE,
          EMONTHS LIKE VTBBEWE-ATAGE,
          EYEARS  LIKE VTBBEWE-ATAGE.
    PARAMETERS: FROMDATE LIKE VTBBEWE-DBERVON,
                TODATE   LIKE VTBBEWE-DBERBIS DEFAULT SY-DATUM.
    call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
      exporting
        i_date_from          = FROMDATE
        i_date_to            = TODATE
      I_FLG_SEPARATE       = ' '
      IMPORTING
        E_DAYS               = EDAYS
        E_MONTHS             = EMONTHS
        E_YEARS              = EYEARS.
    WRITE:/ 'Difference in Days   ', EDAYS.
    WRITE:/ 'Difference in Months ', EMONTHS.
    WRITE:/ 'Difference in Years  ', EYEARS.
    INITIALIZATION.
    FROMDATE = SY-DATUM - 60.
    Regards,
    Bhaskar

  • How to get exact user input in inverse expert routine?

    Hi
    I have created an inverse expert routine on a virtual provider with DTP for transformation from an infocube. The virtual provider is part of a Multiprovider. I have a query which fetches data from the virtual cube.
    I have the hierarchy enabled for the Iobj 0cust_sales in the query and the user inputs the values during execution of the query. Is there a way by which i can get the exact input given by the user in the selection screen in the inverse expert routine?
    I also have some variables on nav attribs of some fields these restrictions are not avaible in the dimensions list. Is there a method by which i can get these variable entries as well in the inverse expert routine?
    Regards,
    Sujai

    please refer to this SAP Help and hope it can solve your question.
    http://help.sap.com/saphelp_nw70/helpdata/en/45/f1f9b861c706f9e10000000a155369/content.htm

  • HT2375 I'm getting a "no input selected " mssg when i try to record a vocal track plz help

    I'm getting a "no input selected " mssg when i try to record a vocal track plz help....

    HEY MODS... who is posting the support article number in the header...
    The one posted in this topic is evem more unhelpful than some of my curt replies.
    Bad idea, most of Logic's problems are not covered by support articles.

  • Getting difference between GMT time and Local time

    Folks,
    I am trying to get difference between gmt time and local time for Korea time zone.
    which should be 9 hours.
    Instead of 9, I am getting 15 hours diff.
    What am I doing wrong?
    Here's what I did to test it:
    First I set the system (Windows XP) time zone to Soul (Korea GMT+9hours) time zone.
    Then I ran the following program, and I got 15 hour diff, not 9.
    Thank you in advance!
    import java.util.*;
    public class Using_GregorianCalendar
         public static void main(String args[])
              Using_GregorianCalendar ugc = new Using_GregorianCalendar();
              ugc.getTimeDiff();
         public void getTimeDiff()
              Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT"));
              Calendar cal1 = new GregorianCalendar(cal.get(Calendar.YEAR),
                                           cal.get(Calendar.MONTH),
                                           cal.get(Calendar.DATE),
                                           cal.get(Calendar.HOUR_OF_DAY),
                                           cal.get(Calendar.MINUTE),
                                                      cal.get(Calendar.SECOND));
            int gmtHour          =  cal.get(Calendar.HOUR); //(Calendar.HOUR_OF_DAY);
            int gmtHourOfDay =  cal.get(Calendar.HOUR_OF_DAY);
            int gmtMonth        =  cal.get(Calendar.MONTH);
            int gmtYear          =  cal.get(Calendar.YEAR);
            int gmtMinute       =  cal.get(Calendar.MINUTE);
            int gmtSecond     =   cal.get(Calendar.SECOND);
            int gmtDate         = cal.get(Calendar.DATE);
            Calendar localCal  = Calendar.getInstance();
            int localHourOfDay = localCal.get(Calendar.HOUR_OF_DAY);
            int timeDiff = (localHourOfDay - gmtHourOfDay);
              //Korea time is GMT + 9 hours so I should get a difference of 9
              //why am I getting difference of 15?
                 System.out.println("************** in getTimeDiff() **********************");
              System.out.println("gmtDate: "+gmtDate);
              System.out.println("gmtHour: "+gmtHour);
              System.out.println("gmtHourOfDay: "+gmtHourOfDay);
              System.out.println("localHourOfDay: "+localHourOfDay);
              System.out.println("timeDiff: "+timeDiff);
              System.out.println("**********************************************************");
         }//getTimeDiff()
    }//class Using_GregorianCalendar
    /*              here's the output of this program:
         ************** in getTimeInGMT() **********************
         gmtDate: 14
         gmtHour: 6
         gmtHourOfDay: 18
         localHourOfDay: 3
         timeDiff: -15
    */

    DrClap wrote:
    sabre150 wrote:
    Nearly correct since the Daylight saving may or may not be in effect which does depend on the date...I would simplify that to this:
    TimeZone korea = TimeZone.getTimeZone("Asia/Seoul");
    long delta = korea.getOffset(new Date().getTime());
    System.out.println(delta / (1000.0 * 60 * 60));That's assuming that the OP really meant UTC when he/she said "GMT". Most people don't realize there's a distinction and that Java's timezones are all based relative to UTC.I suspect you are right in assuming that the OP want UTC and not GMT. I figured it was better to illustrate that the method can be used for getting the time difference between any two TimeZones.

Maybe you are looking for

  • Efi Express doesn't work anymore so I can't print

    I Use Efi Express as RIP and colormanagement software to print to my Epson Pro 4900 printer. Now I need prints and this doesn't work anymore. I installed Maverick so that is most likely to be the problem, because just before I did this the pritner an

  • Grid installtion failing with error  Cannot connect to Node Manager. : Conf

    I am trying to install Grid, however its failing with following error I installed Weblogic server 10.3.4 and 11g R2 database ============================================================== Code of Exception: Error occured while performing nmConnect :

  • About transactional Triggers

    Hai All, Can any one tell me what is transactional trigger and when to use it??? Thanks Sriram.

  • Adding or reconfiguring some site of OC4J

    Hi, I'm going to add some new sites on my OC4J. I try to do it according to command line admin tool admin.jar. I can't What's correct syntax of adding/reconfiguring some OC4J site. I'll be glad seeing some example Thanks in advance Krzysztof

  • I am unable to connect to iTunes

    I am using Ipad 2, my wifi is working good, i also updated to latest ios, but still i am getting error that 'unable to connect to iTunes'