Calculating months instead of days

Dammit!  My client wasn't happy with me calculating 90 days from a given date field.
He wants 3 months.
So I thought I'd solved my problem, but I haven't.  Can anyone help me to calculate 3 months instead of 90 days.
eg. If the 'from' date is 23/05/11, he wants the 'to' date to result in 23/08/11.  Which of course will not necessarily be 90 days.
Thanks,
Peta

Oops !!1 Sorry Peta. Here is the link https://acrobat.com/#d=gxvf6sFTf5T1W7Yr6KpotA. But it's not full proof. It will just give you a rough idea.
Thanks,
Bibhu.

Similar Messages

  • Datepicker with months instead of days

    Hello,
    can/how can i embed a datepicker in tabularforms with this layout:
    < 2007 >
    jan|feb|mar
    apr|may|jun
    jul|aug|sep
    oct|nov|dec
    (Calendar with months instead of days)
    It must return a date 1.feb, 1.mar and so on....
    2,7 mio thanks :-)

    Suggestion:
    use two parameters: p_month and p_year
    and create a LOV for both of them
    Leo

  • Show data of last day of previous month against any day of current month

    Hi,
    I have fact table which contains data at date level (we have data for oct-2009 to april-2010). Our requirement is to show data of last day of previous month against any day of current month in obiee 11g. I am facing problem in Feb 2010 its picking data of 28-Jan-2010 instead of 31-jan-2010 and for April its picking data of 30-mar-2010 instead of 31-mar -2010.
    Any suggestion ???

    You're asking to filter your data set to only include rows between:
    1) last day of the previous month
    2) any day of the current month
    This can be achieved with prompting in OBIEE Answers.
    last day of previous month = TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE)) . The problem is you need to make query work within Oracle's Answer syntax.
    In the prompt, select the operator type for your date dimension as 'between' and default to 'SQL Results'.
    For the 'last day of previous month' , use the query:
    SELECT
    case when 1=0 then Time."Fiscal Date" else TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE))
    end
    FROM ENTER_YOUR_PRESENTATION_FACT_FOLDER_HERE
    For the current date, use the query:
    SELECT
    case when 1=0 then Time."Fiscal Date" else CURRENT_DATE
    end
    FROM ENTER_YOUR_PRESENTATION_FACT_FOLDER_HERE
    Another option is to create a last_date_pervious_month variable in the RPD and have that as the default value in your prompt.

  • Dunning month end + 30 days

    hi gurus,
    is it possible to configure dunning procedure based on month end + 30 days? for example if invoice is issued on 2 february / 20 february, dunning will be calculated to 28 february + 30 days to issue 1st reminder. do i have to do any configuration to achieve these? any response is appreciated. tq
    - asri -

    Removed due to violation of community rules of engagement
    Edited by: Moshe Naveh on Jan 11, 2012 4:42 PM

  • How to derive date from given month, year and day?

    Hi all,
    I have a doubt in date function. I need to create a date from the given month, year and day. How can i do it?

    consider this example
    REPORT zconvertdate001 .
    TYPES : BEGIN OF tt_date_in,
            day(2),
            sep1,
            month(3),
            sep2,
            year(4),
            END OF tt_date_in.
    DATA : wa_date_in TYPE tt_date_in VALUE '07-Jul-2006'.
    TYPES : BEGIN OF tt_date_out,
            day(2),
            month(2),
            year(4),
            END OF tt_date_out.
    DATA : wa_date_out TYPE tt_date_out.
    TRANSLATE wa_date_in-month TO UPPER CASE.
    SELECT SINGLE mnr
    INTO wa_date_out-month
    FROM t247
    WHERE spras EQ sy-langu
    AND   ktx EQ wa_date_in-month.
    CONCATENATE wa_date_in-year wa_date_out-month wa_date_in-day
           INTO wa_date_out.
    WRITE : / ' Date in:', wa_date_in,
            / 'Date out:', wa_date_out.

  • Wrong month displayed in day and week views

    I recently noticed that whereas the current month is displayed correctly in Month view, in Day and Week view the date is displayed as in January. This has been the case in both February and now March.
    I sync my iCal with my mobileme account and my iphone and these don't have the same problem.
    I have removed my com.apple.iCal.plist file and rebooted, to no avail.
    Any suggestions what else I can do?

    Thank you so much Ferd II
    I kick myself. Though too my mind it is not logical to look inside Language & Text for a problem with month names. I forgot that last month I changed the date format to yyyymmdd in order to make it more logical sorting things. I have now reverted to day of week, day of month, month, year, and everything seems fine.

  • IOS 7 Calendar on iPad I cannot go from month view to day view. When I tap on the day of the month nothing happens.

    I use to be able to look at my month in the month view and when I wanted to make an appointment for a specific day I just tapped that day and it would open up the day and I could add my appointment to the time slot I wanted. Now when I am in month view and I tap on the day I want to make an appointment it does nothing. If I hold my finger on the day it creates an All Day event which is not what I want to do and even if I add a start time to the event, I don't know what times I have available on that day because the Day view hasn't opened. This is extremely frustrating. On my iphone it works properly...I can go from month view to day view by tapping on the day I want to view. Why can't I do this on my iPad?? If I could go back to ios 6 I would, calendar is not impressive at all!!
    Please help with any suggestions or PLEASE APPLE.....FIX THIS!!!

    I just tested, and this unfortunately still seems to be a bug in the latest iOS 7.1 release of the Calendar on the iPad, which is too bad since the release notes suggest that this iOS update included both bug fixes and enhancements to the Calendar.
    To my knowledge the bug has never been an issue on the iPhone version of the Calendar which behaves exactly as you would expect it should.
    It seems inconcievable given the obvious broken-ness of the current behavior coupled with what I would expect is a massive number of people who use the Calendar on the iPad, but is it possible that this bug isn't on Apple's radar?
    I'm happy to submit a bug report; does anyone know offhand the process for how the public can report bugs?
    This has been persistent in the product for nearly six months; it's well overdue that this bug be squashed.

  • Calendar from month view to day view

    Hi,
    why isn't it possible (like on my iPhone) if I'm in the month view to tip on a specific day and see this day in the day view?
    I adressed this already at the Apple Feedback page but it seems to be thaat even in iOS 7.1 it has not made into the finals - or am I doing it just wrong?
    Cheers
    Joerg

    I share your frustration Joerg - when I switch from MONTH view to DAY view, I seem to end up on a random day rather than the day I'm trying to choose.
    My 'workaround' is to double-click on the chosen day to create a New Event, then click across to Day view, then hit erase o get rid of the unwanted new event.  Surely there must be a better way?
    Cheers
    David

  • My ipod 4 when i plug it to my pc Windows 7 had worked fine for 8 months then one day i plug it in and a message came USB device not recognized, i tried reset network settings and nothing called apple they did not know any help out there TX

    My ipod 4 when i plug it to my pc Windows 7 had worked fine for 8 months then one day i plug it in and a message came USB device not recognized, i tried reset network settings and nothing i did not install any software before this happend i called apple they did not know, any help out there TX

    Start here:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

  • Aging - 7 Buckets Report needs to display by Calendar month not by days

    The requirement is to display the Aging - 7 Buckets Report display by calendar month not by days. So is it suggestible to customize it or write a new custom report?
    Please let me know if you have any solution on how to do it? i appreciate your help and time.
    EX:If this is OCT and the report is run during this month
    OCT-10 SEP-10 AGU-10 JUL-10 JUN-10 MAY-10 APR-10
    Customer Amount Current Past Due Past Due Past Due Past Due Past Due Past Due

    Hi
    Could you please let me know if you were able to achieve Aging by bucket months?
    Can we create aging bucket that is monthly and not on the basis of days?
    Regards
    Divya

  • Wrongly created depreciation for .3 months instead of 3 years

    Hi SAP gurus
    Assets purchased in Aug10 were wrongly created to depreciate over 3 months instead of 3 years. How do we rectify the errors as depreciation was grossly overstated for assets.
    Depreciation is already posting for one month and period is now closed for posting.
    Regards,
    Satvir Singh

    Hi...
    First change  depreaction keys to 0000 and try to run in repeat...
    And try reverse the wongly posted document numbers using AB08.. otherwise Try to make a depreciation repeat run after you corrected the acquisition value, system will correct the depreciation automatically
    I hope it helps you
    Regards
    vams

  • How to Enable Week Level Planning instead of Day Level with ATPM

    Hello Experts,
    We've a requirement wherein, we would like to do Week Level Planning instead of Day Level.
    But as soon as, we remove CALDAY from the DSO/aggregation level, the planning layout doesn't get rendered.
    Hence we need to always add CALDAY in Planning DSO and Aggregation level.
    How can we get rid of this?
    We are on BW SP7.4 SP6.
    It would be great, if you can share your expert opinion on this.
    Thanks & regards,
    Jomy

    Hello Experts,
    I was able to figure out how can we enable the week level planning. There are some more finer aspects which needs to be flushed out but atleast I can see that planning is possible on Week Level.
    Thanks & regards,
    Jomy

  • Calculation Based on Previous Day's Figure

    Hi all,
    This is a solution I implemented several years ago, which is now causing problems and must be rectified.  The intention was to compare a single field across two days and calculate the difference.  The only way I could figure out how to do that
    back then was to go back and loop through the whole table, calculating the difference each day until the present day.  This obviously isn't very efficient and now something has gone wrong.
    Here's the code:
    // Calculates Nett Oil Volume Increase
    double previousNettOilVolA = 82433; // value on 2/1/13 which is the live value on the day before this system begins
    double previousNettOilVolB = 51347; // value on 2/1/13 which is the live value on the day before this system begins
    foreach (DailyTankData tankdata in DataWorkspace.ApplicationData.DailyTankDatas)
    if (tankdata.NettOilVolume15TankA != null)//otherwise will crash if null value
    tankdata.NettOilVolumeIncreaseTankA = (double)tankdata.NettOilVolume15TankA - previousNettOilVolA;
    previousNettOilVolA = (double)tankdata.NettOilVolume15TankA;
    tankdata.NettOilVolumeIncreaseTankB = (double)tankdata.NettOilVolume15TankB - previousNettOilVolB;
    previousNettOilVolB = (double)tankdata.NettOilVolume15TankB;
    This is run on the _Compute event of another property in the table.  It seemed to work for a long time, but now is occasionally giving wildly inaccurate numbers.
    What's a better way to solve this problem?  Failing that, can anyone explain exactly how the above works and why it might be going wrong?
    Thanks,
    Liam

    Start by looking at your data. Any unusual spikes or negative values?
    A better way to handle it is to let the database do the calculations via a stored procedure.

  • Paying $11.99/month instead of $14.99/month

    I'm a Spotify premium user in Australia. A friend of mine recently signed up to Spotify premium and is only paying the offered price of $11.99/month. I signed up a few months ago and have noticed that I'm still being charged for $14.99/month.
    My premium subscription is run through my itunes account and was wondering if it would be possible to only have to pay the $11.99/month instead of the fee I am on now. Thanks

    There is nothing to 'replace.'
    Simply go to https://cloud.acrobat.com/exportpdf and sign in with your Adobe ID and password (most likely, the same one you used to post here in the forum).

  • Find date if year, month, week and day is given

    Hi,
    How to find the date, if year, month, week and day is given?
    For example:
    Given, year - 2010, month - 03, Day - Wednesday, Week - 3,
    Then how can we get the date as 17-Mar-2010.
    Thanks,
    Chris

    with dt_tbl as (
                    select  2010 year,
                            3 month,
                            3 week,
                            'Wednesday' day
                      from  dual
    select  trunc(to_date(year || '-' || month || '-01','yyyy-mm-dd'),'iw') + (week - 1) * 7 +
              case day
                when 'Monday' then 0
                when 'Tuesday' then 1
                when 'Wednesday' then 2
                when 'Thursady' then 3
                when 'Friday' then 4
                when 'Saturday' then 5
                when 'Sunday' then 6
              end dt
      from  dt_tbl
    DT
    17-MAR-10
    SQL> SY.

Maybe you are looking for

  • My Retina MacBook gets messed up display content.

    Whenever it awakes from standby or an application creates a lot of OpenGL data (games, blender, sometimes just chrome or other software after using it all day) I am getting random stuff displayed on parts of my screen or even the whole screen, like w

  • Selection of 0CURTYPE in a copa datasource

    Hi everybody, I'm being asked to give a hand to a colleague of mine.... he has a problem with the copa datasource...Unfortunately i've always worked on extraction from modules sd and mm... and I don't know how copa exctraction works... I've found a l

  • WWSBR_ALL_ITEMS and item level security - BUG?

    Hi, View WWSBR_ALL_ITEMS does not seems to work correctly when using item level security on a folder. If I add an item to a folder with item level security enabled and do NOT define any special access settings for this item, ie the item setting is "I

  • Portege R700-17Z bios not recognising USB devices

    Hi, I'm after some advice about a problem I'm having with my R700, I can't get the laptop to recognise USB hard drives at the boot stage. I'm trying to use Acronis to create an image as I have 40 of these laptops. The USB CD rom drive is recognised,

  • Gmail is not shown on my firefox/mozilla home page with Maps, Images, etc.

    Using Firefox 3.6 on Vista 64-bit operating system. The link "Gmail" is not on my default homepage of Firefox. It was the first time the homepage came up, but then not again. I can't seem to add it to the Bookmark Toolbar and have to go into "Bookmar