Display date 9 month before

Hi All,
What is the code to write when  i want to display a date like 9 months before a certian date?
Like for example, i have a data which is StartDate and the value is 30 June 2014. In my report i want to display 30 Sept 2013.
How can i do that?
Thanks.

Hi,
Try below formula content:
DateAdd('m', -9, <your date field>)
Thanks,
Raghavendra

Similar Messages

  • "originals" org. on my HD by date & month before iphoto6, now by roll :-(

    how to change the default organization of my images on my hard drive.
    new iphoto 6.01 default organization by roll is a nightmare for me.

    Hi remy,
    You can't change it if you chose the option to copy images into the iPhoto Library folder. That is just the way it is now, but you can make it easier for yourself to find images.
    iPhoto 6 Library folder in the Finder
    As you can see the structure is now related to rolls. Rolls are created for each folder you import and each import session from a camera.
    It is very easy to change the names of film rolls within iPhoto to make them easier to find images within. Open the info panel in iPhoto by clicking on the "i" icon. Once it is opened, click on the roll title in the viewing window.
    Click on the word "title" in the info pane and type in your new title. I like to use a date and text format such as 12/25/05 Christmas at Mom's, 1/05/06 my birthday, etc. Once the roll names are changed within iPhoto, they are also changed within the Finder, making it easy to locate an image.
    When importing from a camera, make sure you name the roll with a date and text before the import.

  • How to create a date field which is 16 months before today(current day)

    Hallo,
    I made a report and i want to set date limits. My data contains a date field so in record selection filter i like to set that the date field is between date1 and date2.
    As date2 i set and as date1 i what to set a date which is 16 months before today(first of that month)
    For example today is 08/05/2010 so,
    date2 = 08/05/2010(August 2010)  and  date1 = 05/01/2009(May 2009)
    Any idea?

    Ian,
    Here's a little formula for getting to the first of the month, that's easier than what you've been using...
    To find the beginning of the current month
    DateAdd("m", DateDiff("m", #1/1/1900#, CurrentDate), #1/1/1900#)
    ... or to find the begining of the month. 16 months ago
    DateAdd("m", DateDiff("m", #1/1/1900#, CurrentDate) - 16, #1/1/1900#)
    Jason

  • Display of month insted of date in report!

    Hi Experts,
    Question 1:
    I want to display month instead of date as a characteristic in my report. Is this possible in BEx without using Virtual Characteristic and without changing existing data module.
    Question 2:
    I am able to display the month as keyfigure using formula variable, but it is displaying as 201.106 insted of 201106. How to correct this? means with out displaying the thousand separator for this keyfigure.
    Thanks.
    Herozoh.
    Help will be highly appreciated.

    Hi Herzoh,
    In order to display calday as calmonth.. create a formula variable with replacement path  to get the date into formula.
    While creating in replacement path tab give offset start and length. In the currency unit tab under dimensions select date.
    Note :But the problem is you have to drag 0calday in rows.
    so 0calday also visible in the report.
    I don't know how to hide a charecteristic.
    Regards
    Ranganath.

  • How to display dates in half-months?

    How can I display dates in half-months from dim_date table? like shown below:
    Assume that 8/14/2012 is current date..
    07/15 - 07/30 - no. of opties created between those dates
    07/01 - 07/14 - no. of opties created
    06/15 - 06/30 - ...
    06/01- 06/14 - ...
    How can display the dates in those buckets? Any ideas appreciated.
    Thanks in adv.

    Try to build the same in RPD using the below sql.
    I've created a Flag based on W_DAY_D."DAY_OF_MONTH" <= 14 then 'F' else 'S' end
    in answers I've got min and max based on exp: min(Time."Row Wid" by Time.Flag)
    WITH
    SAWITH0 AS (select distinct T31328."PER_NAME_MONTH" as c1,
    case when T31328."DAY_OF_MONTH" <= 14 then 'F' else 'S' end as c2
    from
    "W_DAY_D" T31328 /* Dim_W_DAY_D_Common */
    where ( T31328."PER_NAME_YEAR" = '2012' ) ),
    SAWITH1 AS (select min(T31328."ROW_WID") as c1,
    max(T31328."ROW_WID") as c2,
    case when T31328."DAY_OF_MONTH" <= 14 then 'F' else 'S' end as c3
    from
    "W_DAY_D" T31328 /* Dim_W_DAY_D_Common */
    where ( T31328."PER_NAME_YEAR" = '2012' )
    group by case when T31328."DAY_OF_MONTH" <= 14 then 'F' else 'S' end )
    select distinct SAWITH0.c1 as c1,
    case when SAWITH0.c2 is not null then SAWITH0.c2 when SAWITH1.c3 is not null then SAWITH1.c3 end as c2,
    SAWITH1.c1 as c3,
    SAWITH1.c2 as c4
    from
    SAWITH0 full outer join SAWITH1 On SAWITH0.c2 = SAWITH1.c3
    Hope this helps, pls mark

  • Hyperlinks in table component? Data processing before display?

    Hi all!
    I have following problem to solve - I have some database tables I need to show on a page. Creating a DataProvider and using it works really fine even with parameters in my query.
    But I have some columns with data that needs processing after fetching from data base (e.g. one colum has a value 20060925 with should be shown as date). Who can I do this - implementing my own data provider is the only thing I can think of.
    Second, I need one column in my table to be a hyperlink, changing column type will do, but sometimes I would like a simple text (when there are no details to link to). Any ideas for this one?
    Thanks in advance,
    Jan

    You can use the date time converter to display date. or then you can also use the sql function to format the date field before displaying...
    for example, If you are using an Oracle database, use the SQL Timestamp converter instead.

  • Could i display data in VO before commit and re-query?

    I have inserted some rows into ViewObject.i will display these rows before commit them.
    The vo will be a temporary table.
    how can i do it ? thanks ,best regards.

    thanks . i have an idea.
    first ,create a row ,and then insert this row.

  • How to display 3 month columns and YTD column

    Hello,
    I need a help. My report layout requires to display the data in 3 dynamic month columns and one Fiscal year Year-to-date column for a period of time. For example, ending month is FEB:
    Items : DEC : JAN : FEB : FY YTD
    A     : $10     : $11     : $12     : $100     
    B     : $1     : $2     : $3     : $10
    (Note: FY YTD is the total sum from OCT to FEB (5 months), not 3 months to be displayed)
    I tried to create a query and use Matrix with group, but the report always display five (5) month columns
    from OCT to FEB instead of displaying three (3) month columns. If the query is limited to display
    three months as desired, then the total sum will be 3 displayed months only (instead of 5 months).
    How to create a query or how to display three months and FY YTD or do anything else with Oracle Builder9i?
    Thanks,

    You could use the DECODE function and variables
    i.e. have a four column report
    in your query use somthing like
    , decode(period,:P_PERIOD1,1,0)* amount as period1
    , decode(period,:P_PERIOD2,1,0)* amount as period2
    , decode(period,:P_PERIOD3,1,0)* amount as period3
    , amount as ytd
    In your before report trigger poulate the variables with your required values

  • Displaying date field in menu using HTML DB

    How do I display a date field in HTML DB as drop down. I have the below HTML code which needs to be represented in HTML DB.
    The display on the page should be like
    Enter Start Date : "Month" "Day of the Month" "Year".
    The above values in quotes should be displayed as enterable fields with LOVs.
    Any help would be greately appreciated.
    <td colspan="3">Select a Date Range for the Report</td>
    </tr>
    <tr>
    <td nowrap="nowrap">
    <label>
    <input type="radio" name="selectDateType" value="mdy">
    (Month Day, Year)</label></td>
    <td nowrap="nowrap"><label for="startDateStringMonth">Start date:</label></td>
    <td nowrap="nowrap" width="100%">
    <select name="startDateStringMonth" id="startDateStringMonth" tabindex="3" >
         <option value="">Month</option>
         <option value="0">January</option>
         <option value="1">February</option>
         <option value="2">March</option>
         <option value="3">April</option>
         <option value="4">May</option>
         <option value="5">June</option>
         <option value="6">July</option>
         <option value="7">August</option>
         <option value="8">September</option>
         <option value="9">October</option>
         <option value="10">November</option>
         <option value="11">December</option>
         </select>
    <select name="startDateStringDay" id="startDateStringDay" tabindex="4">
    <option value="">Day</option>
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    <option value="5">5</option>
    <option value="6">6</option>
    <option value="7">7</option>
    <option value="8">8</option>
    <option value="9">9</option>
    <option value="10">10</option>
    <option value="11">11</option>
    <option value="12">12</option>
    <option value="13">13</option>
    <option value="14">14</option>
    <option value="15">15</option>
    <option value="16">16</option>
    <option value="17">17</option>
    <option value="18">18</option>
    <option value="19">19</option>
    <option value="20">20</option>
    <option value="21">21</option>
    <option value="22">22</option>
    <option value="23">23</option>
    <option value="24">24</option>
    <option value="25">25</option>
    <option value="26">26</option>
    <option value="27">27</option>
    <option value="28">28</option>
    <option value="29">29</option>
    <option value="30">30</option>
    <option value="31">31</option>
    </select>
    <select name="startDateStringYear" id="startDateStringYear" tabindex="5">
    <option value="2000">2000</option>
    <option value="2001">2001</option>
    <option value="2002">2002</option>
    <option value="2003">2003</option>
    <option value="2004">2004</option>
    <option selected="true" value="2005">2005</option>
    <option value="2006">2006</option>
    <option value="2007">2007</option>
    <option value="2008">2008</option>
    <option value="2009">2009</option>
    <option value="2010">2010</option>
    </select> </td>
    </tr>
    <tr>
    <td nowrap="nowrap"> </td>
    <td nowrap="nowrap"><label for="endDateStringMonth">End date:</label></td>
    <td nowrap="nowrap">
    <select name="endDateStringMonth" id="endDateStringMonth" tabindex="6">
         <option value="">Month</option>
         <option value="0">January</option>
         <option value="1">February</option>
         <option value="2">March</option>
         <option value="3">April</option>
         <option value="4">May</option>
         <option value="5">June</option>
         <option value="6">July</option>
         <option value="7">August</option>
         <option value="8">September</option>
         <option value="9">October</option>
         <option value="10">November</option>
         <option value="11">December</option>
         </select>

    I'm not sure why you would do it the way you have it implemented in 3 select lists.
    Why not use a Item Type of Date Picker, and let the user use the pop-up Date Picker to select the date.
    You code has some fatal flaws:
    1) You can't see any data before 2000
    2) You can't see any data past 2010 (probably not an issue now)
    3) It's possible to specify February 31 as a date
    Using the built-in Date Item type will eliminate these issues and at the same time, make your UI more streamlined.
    Thanks,
    - Scott -

  • Need Suggestion in displaying data in ALV.

    Hi All Experts,
    I have a scepic scenario for which I need your inputs. I am preparing a report which will display data foe entries made in time sheet. The entries in time sheet can be made for anything like a change request on an incident etc. It will have various output fields
    And also dates for which entries are made. So it can have date from 1 to 31. This all is
    to be displayed in ALV. Now the report can be displayed in two Summarised ways.
    One summary can be for a user and another for the  object type(incident, change request).
    Now if the user wants to see this report for a period more than a month  then I have to summarise it against a month too. So am not sure how to handle this. Which type of ALV function module to be used to display this?
    Regards,
    Saket

    hello,
    I would suggest to go for GRID display - for that you can use either function module or class.
    Tips:
    If it also need to be summarised by month then add an extra field in fieldcatalog as monthid / monthname.
    also it's better to have an extra field for object tyoe (Incident/ change)...
    Thanks.

  • Can't display data that exist in cupe

    Hi All,
    I get a problem which is thar even i entered data in the cube i cant display with charecteristics. When i go to bw and display data if i say select charecteristics i can see any data but if i dont select charecteristics i can display data. Also when i enter data and sen data it say succesful but i loose data on view. Have anyone get any problem like that thanks for your interest.
    Kasim

    Hi,
    The code you sent appears to be the Audio Talkthrough example with several modifications. Here's the first thing I noticed that appears to be incorrect: You're using the BF AD1871 Wait on Data Ready Flag VI to fill the sub-buffer, then you go into a loop and get the contents of that buffer 256 times. You should be filling the buffer each time before you get the buffer instead of only filling it once. You also aren't resetting the data ready flag by using the BF AD1871 Clear Data Ready Flag VI.
    Message Edited by Michael P on 07-28-2006 09:55 AM
    Michael P
    National Instruments

  • Display Data Flow - Short Dump

    Hi all,
    When i select display data flow of any cube...it is going for a short dump.
    I have searched for the answer in previous Forum questions. I could find only for previous BW versions but not for for BI7.
    Could you please let me know the solution for this issue.
    Thanks & Regards,
    Eswari

    Hi All,
    Thank you very much for all of your responces.....
    I am working on Support Package 10.
    Here is the detailed description of the short dump.
    Short text
        The current application triggered a termination with a short dump.
    What happened?
        The current application program detected a situation which really
        should not occur. Therefore, a termination with a short dump was
        triggered on purpose by the key word MESSAGE (type X).
    What can you do?
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        Short text of error message:
        GP: Control Framework returned an error; contact system administrator
        Long text of error message:
         Diagnosis
             The Graphical Framework is based on the basis technology known as
             the Control Framework. A method in the Control Framework returned
             an error.
         Procedure
             It probably involves a programming error. You should contact your
             system administrator.
         Procedure for System Administration
             Check the programming of the graphics proxy especially for the
             parameters that were sent and, if necessary, correct your program.
        Technical information about the message:
        Message class....... "APPLG"
        Number.............. 229
        Variable 1.......... " "
        Variable 2.......... " "
        Variable 3.......... " "
        Variable 4.......... " "
    How to correct the error
        Probably the only way to eliminate the error is to correct the program.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "MESSAGE_TYPE_X" " "
        "CL_AWB_OBJECT_NET_SAPGUI======CP" or "CL_AWB_OBJECT_NET_SAPGUI======CM005"
        "PBO"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
       4. Details about the conditions under which the error occurred or which
       actions and input led to the error.
    Thanks,
    Eswari.

  • Display data in pop-up graph window

    I am trying to display data continuously in a pop up chart. When I press a button the chart should pop up and show all the previous values as well as those being continuously generated. If possible I want to do this without using local or global variables. This question was asked before too at http://forums.ni.com/ni/board/message?board.id=170&message.id=315949&query.id=9049787#M315949    but I was unable to understand the proposed solution. I am a civil engineer, meaning it will be difficult for me to understand advanced concepts and at times even simple concepts related to computer programming.  I have attached two VIs just to illustrate what I am trying to do.
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Popupgraph_main.vi ‏19 KB
    Popupgraph_subvi.vi ‏18 KB

    Sorry, those uploaded VIs were just for a demonstration of my problem.
    As for the Untitled06, when I was trying them in my computer I had named it "Untitled06" but when uploading to this
    forum I changed the name. Forgot about the invoke node.
    What I was asking is, if it was possible to
    acquire data using one VI and show any temporary graph/chart in a
    separate subvi. I did it like attached. Seems like it will work for me.
    smercurio_fc  Thanks regarding the t0. I changed that in this version. Shipped LV examples haven't been a lot of help to me. Most of the time I cannot relate them to what I want to do. I generally prefer to use this forum. 
    Any other (obviously better) solutions? then please do let me know. The only requirement is that chart should appear in a separate VI, it is just a temporary chart and I do not want it to take up space in my main VI front panel.
    Thanks
    Attachments:
    Popupgraph_mainv02.vi ‏24 KB
    Popupgraph_subviv02.vi ‏18 KB

  • Display Data on waveform chart or XY graph over a long period of time

    Display Data on waveform chart or XY graph over a long period of time
    Can anyone help?
    I am acquiring data from an Ni DAQ card with the following parameters - sample rate = 12800, number of samples = 4096. I want to extract order information so as to track changes in the amplitudes of certain frequency harmonics. So I use the sound and vibration toolkit to extract this information as shown in the attached Vi.  I will like to plot the resulting amplitudes against real-time starting at the time the Vi was run.  I really want the display to show these changes over long periods (eg. days, months and even years).
    Problem.
    I have tried to plot the Y component of the resulting magnitude for a given order on a waveform chart. My choice of the waveform chart is because I also want to display  alarm limits (using the mask and limit vi) (I can't have these lines displayed on an XY graph plot).  I tried adjusting the scale offset using the property node and setting the offset to current time. However, the display on the X-axis can only show a span of  2 minutes as will be seen when you run the attached vi. I want the time display on the x-axis to be over a period of  days, months  and even years.  Is there a way to set the maximum scale on the x-axis to be say a year or so in future.
    I really want the display to be like the one in in the second attachment.
    Attached is a sample VI created using an Ni USB 9234 DAQ card. Any card will do but I am only getting the signal from one channel for this example
    I will appreciate any help that can be given to me.
    Thanks
    Attachments:
    Real-Time Graph Display.vi ‏170 KB
    Sampe screen1.doc ‏37 KB

    Long term testing can be tricky- and we'l get into that later.  Lets start with the basics that you have wrong.
    The vi as you have constructed it has only one memory element, the chart history length (default is 1024.)
    You can change the number of points the Chart will remember by Right-clicking the chart an select Chart History Length from the menu.
    But for a long term test - and one where you want to REMEMBER the first value you need a memeory element that is independant of the application.  Your PC WILL loose power or need to be rebooted eventually.  Heck it might even need to be replaced! you really need to store your data in a file. Preferablly in a file that is backed-up on a regular basis so you don't lose every point of data if the PC dies.  It realy hurts when you have to restart a 2yr test because you've lost the 18months of data you collected.
    For an application like this I would seperate my "collection" and "Evaluation" operations. 
    Have one vi that takes the reading and writes it to a file at a configurable rate  You may want 1reading  per minute for seveal days then 1 per hour for a few weeks- then maybe only once or twice a week for the next couple of years since you are looking for LONG TERM stability.  having too much data to evaluate can take a lot of digging to find the few things that interest you (but always take more that you think you need)
    Have another utility that COPIES the files, reads them and displays the data you are interested in that day.  The data you want to look at won't change over time HOWEVER, you WILL want to analize it in different ways depending on what the data trends look like.  Having seperate routines for collection and display allows you to update the display style and analisys without even stopping the collection vi (much less editing the vi)
    Jeff

  • List View still displays dates as numbers after 2.1 Hotfix

    Hi
    Just tried the List View component after installing Fix Pack 2.1 Hot Fix.   I  put a list view component on the canvas, selected 3 datesone for each header, changed the Appearance - Header to Date and then hit preview.  The first header worksshows the dates but the other two headers show numbers, not dates.
    The documentation shows that this was fixed,  see below
    ADAPT01260598 (List View displays
    dates as numbers)
    Description:
    The header area of List View displays date values as numbers.
    New Behavior:
    This issue is resolved.

    No, I was just wondering since I have a second device on TMobile US and haven't gotten the update. I loaded this OS almost a month ago when it leaked on the Internet.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

Maybe you are looking for

  • HT204088 i want to purchase box of gems for my clash of clans .

    i am playing game on i pad .my i pad version 5.1.1 (9b206) model mc349ll , .i am traying to get gems for my game .i try to chard my visa card .i dont know wot to do ,please help me out thanks kamran <Personal Information Edited by Host>

  • Cs5 mac os 10.6.5

    ok i had the 30 day trial version of photoshop. it ended and i tried to uninstall all the files that were (photoshop related) anyways, then i went to the mac store and bought a full version of cs5 came home and installed it put in the serial number a

  • Want to add some neat Flash "things" to a site

    I want to add some neat little Flash things to my site... I don' t know exactly what... but where are some good FREE sites that have flash. I don't know Flash... but I know how to add it into Dreamweaver. Thanks - Angie

  • Error downloading songs on iTunes match

    Since downloading iOS 7 I'm getting errors preventing me from downloading songs from iTunes Match on my iPhone 4S. Can anyone help??

  • Country was changed to Albania and impossible to get back

    Hi, I was changing my payment information and mistakenly clicked on country. I cancelled the Country window but then the country was set to Albania. When going back to the country window, it was impossible to set it back to United States (error messa