How do you calculate the age of a query?

Hi,
We are trying to determine how old a query is?  Do one of the statistical cubes/queries contain the age or created on date of a query?
Thanks for you help.  Points will be rewarded for the correct answer.
Thanks,
Mike

Hi rathi/mike,
check these tables RSRREPDIR,RSZCOMPDIR.
Cheers
RK

Similar Messages

  • I wanted to know how do you calculate the number of days between two dates

    i wanted to know how do you calculate the number of days between two dates in java ? i get both the dates from the database. i guess there are many issues like leap year and Febuary having diff no of months ..etc.

    thanks..
    I solve my problem as
    public class MyExample {
        public static void main(String a[]) {
            String stdate = "2009-03-01";
            java.sql.Date currentDate = new java.sql.Date(System.currentTimeMillis());
            java.sql.Date preDate = java.sql.Date.valueOf(stdate);
            System.out.println(currentDate);
            System.out.println(preDate);
    //        int dateCom = preDate.compareTo(currentDate);
    //        System.out.println(dateCom);
            long diff = currentDate.getTime() - preDate.getTime();
            int days = (int) Math.floor(diff / (24 * 60 * 60 * 1000));
             System.out.println(days);
    }

  • How do i calculate the age given the dob?

    How do i calculate the age given the dob?

    Date dateOfBirth = yourObject.getDateOfBirth();
    float ageInMillis = System.currentTimeMillis() - dateOfBirth.getTime();

  • How do I calculate the age given the year of birth?

    How do I calculate the age given the year of birth?

    Get the current year using the getYear() method. Subtract the year of birth from the current year. The age is calculated.
    d.

  • How do you calculate the count in before a cue start?

    Here's what I can't figure out.
    I have a quicktime loaded and I need to start a cue at, let's say, 1:05:07:10. I want the tempo to be, oh, 120. I arbitrarily say - this will be measure 41 but it doesn't really matter, I just need my downbeat at that TC and the tempo to be correct.
    So far so good. I have no problem doing this with Tempo operations. I lock the time code, assign it a measure (in this case 41) and have logic calculate a single tempo from 1:00:00:00 (measure 1) to the desired start.
    Now here's my real question. How do I calculate 4 or 8 beats before 1:05:07:10 so I can have a count it at the correct tempo (120)?
    So I'm wonder how some of y'all handle this situation.
    Thanks

    As long as you are in the Fetch call, all other calls to the Scope
    driver will block until Fetch exits.  That's why the Abort doesn't
    do anything.  You have two options:
      1) Use a finite timeout.  Obviously, you are running into
    cases in which the trigger does not arrive, and want to exit
    cleanly.  This is exactly what the timeout is for.
      2) Determine the acquisition state before calling fetch. 
    If this is a finite, single-record acquisition, poll on acquisition
    status and do not call fetch until the status is 1 (acquisition
    complete).  If you're doing a finite, multi-record acquisition,
    poll on the Fetch>>Records Done property and only fetch the
    records that have completed.  If you're doing a continuous
    acquisition, poll on the Fetch>>Points Done or Fetch>>Fetch
    Backlog property and only fetch the number of points that have been
    acquired.
    There's no clean way to break the infinite timeout fetch without forcing LabVIEW to close.

  • How do you calculate the number of bytes in a hexidecimal array?

    Hi can anybody help me calculate the number of bytes in a hexidecimal array ie:
    04h + 12h + 4Eh + 20h = 84h
    Thanks

    Hi,
    I'm not sure if you want to count the bytes or sum the array. But here's an example of both:
    Hope this helps,
    Paulo
    Attachments:
    ByteCount.vi ‏18 KB

  • How do you calculate the instantane​ous frequency of a signal in LabView?

    I'm working with neural signals that can be described as a nonlinear series of action potentials.  I've already calculated the spike density function (spikes per second against time) and was wondering if this is the instantaneous frequency?  If not, could someone please describe how to calculate instantaneous frequency in LabView without the advanced signal processing toolkit.

    Instantaneous frequency is a term which seems to be context-sensitive.  In other words the definition can vary depending upon the application.
    Spikes per second would be more of an average frequency (averaged over one second).
    For your neural signals I would think that an instantaneous frequency would be defined as the reciprocal of the time between successive spikes.  Since you can count spikes, you should be able to determine the time of each spike.
    Lynn 

  • How do you calculate the length of a microcassette tape on the M-2000 transcriber?

    There is a counter that runs as you rewind a microcassette tape.  What is the equivalent in minutes?  I would like to know how long the tapes are that I am preparing to type.  Thanks for your prompt reply.

    Unfortunately, we have a very limited information about the M-2000 Micro Cassette Recorder since it was first released in the market last 7/1/1989. Perhaps, the manual here can be of help. 
    If my post answers your question, please mark it as "Accept as Solution"
    http://bit.ly/Win-4K

  • How do you calculater correlation coefficients for data?

    I would like to calculate the correlation coefficient for data which has a linear correlation. I can calculate the linear fit, but how do you calculate the correlation coefficient from this data. Any help would be greatly appreciated.

    If you're just looking for the correlation coefficient (r^2 or r) of a linear regression, you can use the method described HERE earlier.
    LabVIEW Champion . Do more with less code and in less time .

  • How to calculate the Age

    Hi
    I am new to Java, and i am having some problems with calculating some ones age .
    Now the user will enter Today_date and then he will enter his birth_date
    So how can I calculate his age
    Thanks for the help
    Dado

    Here is a very siple one:
    import javax.swing.JOptionPane;
    public class Age     {
         public static void main( String args[] )
              String birth, present, birthday;
              int birthnum, presentnum, age;
              birth = JOptionPane.showInputDialog( "What year where you born in?" );
              present = JOptionPane.showInputDialog( "What year is it now?" );
              birthday = JOptionPane.showInputDialog( "Type 1 if your birthday has "
                                                           + "gone, else type 0" );
              birthnum = Integer.parseInt( birth );
              presentnum = Integer.parseInt( present );
              if ( birthday.equals("1") )
                   age = ( presentnum - birthnum );
              else
                   age = ( presentnum - birthnum ) - 1;
              JOptionPane.showMessageDialog( null, "Your age is: " + age );
              System.exit(0);
    }

  • How you calculate the overtime

    hi this is Raman pls give this question answer
    How you calculate the overtime

    Hi
    it depends u can directly mention/highlet the overtime block while creating workshedule then while generating time evaluvation the system takes and it is caliculated  by using Secoundary wage types
    Else u can maintain the day to day details  in the infotype 2005
    Hope u understand and use full
    rgds...........rajeshk

  • Calculate the age in bex

    Dear all,
    What i need is to calculate the age of an equipment, i have date of birth, in report i need to create a formula and subtract date of birth from sy-datum , however i do not know how to define sy-datum in bex variable or formula variable..
    Any help?
    Thanks

    Hi,
    For this First you need to create a Replacement path variable for your characteristic Date(If your Date is a key figure no need of creating this).
    Then search for the standard SAP provided formula variable for current calendar day. once you have found this.
    Create a Formula and in your formula use the formula "Date of Birth - Current Calendar Day" this will give you age in no.of days.
    You would need to divide this by a number based on your requirement to get age in months or years.
    Hope this helps,
    Regards,
    Rk.

  • How do you calculate a field

    Hi all,
    I would really appreciate some help as I do not know programing, java script or other programming languages.  I need to have a field calculate for me.
    The form has date of birth. Then I need the next field, (a text field) calculate the age on the previous field of the Date of Birth.  Does anyone have an idea how to do that?  I have gone through the help guide, but it assume you know the langauage to put in.
    thanks in advance.

    Janet, I've fixed the form and attached the updated version.  There were a couple of things that I changed:
    1. The form was saved as a static .pdf form.  This means that it's for display only; you can't run any scripts and change things programatically.  I changed it to be a dynamic form, which allows scripts to run when the user is entering data.  To do this I selected Save As from the file menu and then selected Save as type: Adobe Dynamic XML Form (*.pdf).
    2. Since the form was saved as static it stripped out the scripts.  I re-pasted the script that I gave you back into the calculate event for the Age field.
    I also changed the Language dropdown on the upper right side of the script window to Javascript, since that's the language that I used.
    3. The name of your DOB field is DateTimeField1.  You can see this by either looking at the Hierarchy window or by looking at the Field tab of the Object window.  In the future you should change the names of the fields from their default to something more descriptive.  For now it's fine.  I then replaced my references to "DOB" in my script with "DateTimeField1.
    4. Make sure that the preview type is set to dynamic.  Go to the File menu in designer and select the Form Properties item.  Click on the Preview tab and choose "Preview Type": Interactive Form and "Preview Adobe XML Form as": Dynamic XML form.
    The above changes made it work, but I changed one more thing:  The type of the DOB field is set to DateTime field, and when you use the pop-up calendar to select the date it gets saved in the data in a backward format (YYY-MM-DD).  This doesn't show up on the form since you have the display format set, but behind the scenes it messes up the date calculation in the script.  I set the edit pattern for the field to be either D/M/YYYY or D-M-YYYY to allow some flexibility when the user enters the date, and to force it to save in the proper format for the script.
    Oh, forgot to mention that "new Date()" gets the current date from the system, so you don't need a field on your form for it.  Green is a comment, not part of the script but just to document what's happening in the script.  Blue means reserved script instruction, black is everything else.  Makes more sense to you if you're a programmer. The Livecycle editor automatically colors the text to make it easier to read, we just type it in.
    Give this a try and let me know if you have more issues.
    Kevin

  • How do i calculate e age given e year of birth?

    how do i calculate e age given e year of birth?

    RubberFaceDuckie, two things:
    1) please don't crosspost all over the forums.
    2) I don't think that it would help much if we tell you the code for such a simple operation; if you have trouble doing this, either go and tell your teacher (maybe the better idea), or try to figure it out alone. This problem shouldn't be unsolvable for you, and it seems to me that you need more practice and to spent more thoughts on your solution. Before you write a program, you should be sure about the program's algorithm.

  • How do I calculate the total size of selected folders?

    Hello
    My question is:
    How do I calculate the total size of selected folders?
    Thank you

    It does show the aggregate size.
    Command-Option-I opens the Inspector window. (Or open the File menu and hold the Option key. Get Info turns into Show Inspector.) The Inspector is similar to the Get Info window but it shows aggregate info for multiple selections. It is also dynamic — if you change the selection while the Inspector is open, the info changes to reflect the current selection.

Maybe you are looking for

  • How to get browser cookies in a servlet

    Hi, I need to use the browser cookie in my servlet, how can i get the browser cookies in a servlet Thanks in advance

  • 11.3 update, podcasts won't update

    Updating podcasts had stopped working, so I updated to the latest release (11.3) but it still doesn't work. iTunes shows "last updated" as current time, so clearly thinks it's updating, but it's not. Sometimes, the update arrow spins round endlessly

  • Conversion of a attached file in raw format to text format

    Hi All,        We have a requirement where in which we will be getting an attachement to the mail which wil be in rqw format,we wanted to convert this attachement in raw format to text fiel.Is there any function moduel for the same.         Pointers

  • Adding a video from vimeo

    Is there anyway of adding or embedding a vimeo video in an email?

  • CF8 with JBoss JNDI datasource

    After installing and configuring a CF8 for J2EE running on JBoss 4.2.2.GA with Java 6, I have created a JNDI datasource for Oracle 10g in the oracle-ds.xml file. I have configured a CF8 datasource that uses the JNDI resource. Any query that is NOT us