Want to get the 25th day of every month Date Function

Dear All,
i want want to get the 25th day of every month
like.
select sysdate from dua.
Regards

i want want to get the 25th day of every month By saying 'day', do you mean days like - Sunday, Monday, etc.?
Why I'm in doubt is 25th of every month will always be 25 like '25-Jan', '25-Feb', '25-Mar', etc...
In case you need the other way -
SELECT
            ADD_MONTHS (
                        TRUNC (TO_DATE (SYSDATE), 'YEAR'), LEVEL - 1
                        ) + 24,
            TO_CHAR (
                ADD_MONTHS (
                        TRUNC (TO_DATE (SYSDATE), 'YEAR'), LEVEL - 1
                        ) + 24
                , 'DAY')
      FROM DUAL
CONNECT BY LEVEL <= 12;Output:
25-Jan-2013     FRIDAY  
25-Feb-2013     MONDAY  
25-Mar-2013     MONDAY  
25-Apr-2013     THURSDAY
25-May-2013     SATURDAY
25-Jun-2013     TUESDAY 
25-Jul-2013     THURSDAY
25-Aug-2013     SUNDAY  
25-Sep-2013     WEDNESDAY
25-Oct-2013     FRIDAY  
25-Nov-2013     MONDAY  
25-Dec-2013     WEDNESDAY

Similar Messages

  • How to get the last day of a month?

    HI,
    I want to know how to get the last day of a month.
    In my JClient form, I tried to get it by using oracle.sql.Date method, that is:
    lastday=oracle.sql.Date anydate.lastDayOfMonth();
    But it does not work. The result is lastday=anydate.
    Why?
    Stephen

    You can use the Calender class...
    Calendar c = Calendar.getInstance();
    and then something like...
    c.add(c.MONTH, 1);
    int dayOfMonth = c.get(Calender.MONTH);
    c.add(c.DAY_OF_MONTH, - (dayOfMonth-1) );
    other usefull functions are:
    System.out.println(" YEAR : " + c.get(Calendar.YEAR));
    System.out.println(" MONTH : " + c.get(Calendar.MONTH));
    System.out.println(" DAY_OF_MONTH : " + c.get(Calendar.DAY_OF_MONTH));
    System.out.println(" DAY_OF_WEEK : " + c.get(Calendar.DAY_OF_WEEK));
    System.out.println(" DAY_OF_YEAR : " + c.get(Calendar.DAY_OF_YEAR));
    System.out.println(" WEEK_OF_YEAR : " + c.get(Calendar.WEEK_OF_YEAR));
    System.out.println(" WEEK_OF_MONTH : " + c.get(Calendar.WEEK_OF_MONTH));
    System.out.println(" DAY_OF_WEEK_IN_MONTH : " + c.get(Calendar.DAY_OF_WEEK_IN_MONTH));
    System.out.println(" HOUR : " + c.get(Calendar.HOUR));
    System.out.println(" AM_PM : " + c.get(Calendar.AM_PM));
    System.out.println(" HOUR_OF_DAY (24-hour): " + c.get(Calendar.HOUR_OF_DAY));
    System.out.println(" MINUTE : " + c.get(Calendar.MINUTE));
    System.out.println(" SECOND : " + c.get(Calendar.SECOND));
    System.out.println();*/

  • How to get the calendar days of  last month in SAP HR Schema?

    Hi all,
       I have a question about the calendar days of last month, cause the customer calculated the salary not by natural month but cross-month, for example,
    for calculating salary of Aug, the time period may be 7.28-8.27, so I need the days of this period which is  the calendar days of  last month exactly.
    But I only knew GKSOLL was used for getting the calendar days of current month.
    If any place wrong, please guide me.
    Look forward to getting experts' help, thanks.
    Regards,
    May.

    Hi Sankarsan,
    Thank you so much for your help.
    The requirement I have described in detail when replying Viverk, you can take it as a reference.
    Cause my customer  don't want to use retro in SAP system, so I noted the schema about  retro.
    Now my question was how to get the last month calendar days in Schema. For example, now I am calculating the salary of July, the full attendance will be 30 days(06.28-07.27), in rule GKSOLL will get 31 days, so it's not right.
    I hope you can get my point, below is the wrong rule.
    Please guide me to correct it, thanks.
    Regards,
    May.

  • How do I set a reminder for the last day of every month

    Have I missed something? But how do you set a reminder for the last day of every month to recurr indefinatley in iOS6? Sorry if this is really simple but I just can't seem to work it out. Any help gratefully received.

    Hey Mattye88 not sure if you have seen but actully you can do this, but for some reason you have to use Siri.  If you bring up Siri and say "set a reminder ever 4 weeks from next wednesday to check the gas meter" it will set one and it will work just fine, I have reminders to water a Bonsai every three days and it works fine it just shows as custom repeat on the user interface.  Alas it seems you can not use Siri to set one for the end of the month though which is why I am in this threed.  Still hope it helps you to know how to sort this problem atleast.

  • How to get the first day of current month

    hi guys,
    i am trying to get the first day of current month which get from the date i input at the selection screen. my method is not so good, so i was wondering if there is better way to get the this,
    thanks.

    Try this .
    data : DAYNR LIKE  HRVSCHED-DAYNR,
         DAYTXT LIKE  HRVSCHED-DAYTXT.
    data langu like sy-langu value 'EN'.
    Parameters PDATE LIKE SY-DATUM.
    PDATE+6(02) = '01'.
    CALL FUNCTION 'RH_GET_DATE_DAYNAME'
      EXPORTING
        LANGU                     = LANGU
        DATE                      = PDATE
      CALID                     =
    IMPORTING
       DAYNR                     = DAYNR
       DAYTXT                    = DAYTXT
      DAYFREE                   =
    EXCEPTIONS
      NO_LANGU                  = 1
      NO_DATE                   = 2
      NO_DAYTXT_FOR_LANGU       = 3
      INVALID_DATE              = 4
      OTHERS                    = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE :/ PDATE, DAYNR, DAYTXT.
    Cheers

  • Function module to get the 'first day of next month'

    Hi
    I have a selection screen with  input fields
    1. period (month eg: 07)
    2.year(fiscal year eg: 2008 )
    If user enters 07 as month and 2008 as year, then I have to display 08/01/2008(MM/DD/YYYY) as output.
    Requirement is to calculate the  'first day of next month'
    I have written code for this requirement.But I am asked to use function mdule.
    Please help me in this regard.
    Thanks&Regards
    Rama.Mekala

    hi try this FM ...
    HR_JP_MONTH_BEGIN_END_DATE
    it gives the Begin Date and End date of the month
    rewards points if found useful
    regards,
    Balaji

  • Getting the new products included every month

    Hi friends,
    Iam having two tables
    PRODUCT_CATEGORY - Has the details of the Category of Products
    PRODUCT_SUBCATEGORY - The Subcategory details of the Products.
    I need to create a view to store the product introduced every month, how can i do this?[as i have the created date in the product category table]
    PRODUCT_CATEGORY
    id -- name -- cdate---------------------> fields
    PRODUCT_SUBCATEGORY
    id--catid--name--descriptions ----------------------> Fields
    Help me in this

    Requirements are not very clear..
    Like this..?
    sql>select * from t;
    ID DT
    1  30-JAN-07 
    1  31-DEC-06 
    sql>
    create or replace view vu1
    as
    select * from t
    where to_char(dt,'fmmmyyyy')=to_char(sysdate,'fmmmyyyy');
    View created
    sql>select * from vu1;
    ID DT
    1  30-JAN-07 
    --now db date changed to 01-feb
    sql>select * from vu1;
    no rows selected                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to get the weekends days for a specific date range

    I want to select list of only weekend dates from a given date range. Is it possible in SQL?
    For example if the range is '08/01/2011' and '08/30/2011'
    I want a list
    08/06/2011
    08/07/2011
    08/13/2011
    08/14/2011
    08/20/2011
    08/21/2011
    08/27/2011
    08/28/2011Thank You, Naveen email:[email protected]

    First and easy to do is having a Calendar table, which over there you can have those information.
    http://arbibaghdanian.blogspot.com/2011/05/calendar-table.html
    Declare @beginDate Date, @EndDate Date
    Select @beginDate = '08/01/2011', @EndDate = '08/31/2011'
    Declare @Calendar Table
    (CalendarDate Date Primary key, IsWeekend Bit, YearNo SmallInt, QuarterNo TinyInt, MonthNo TinyInt, DayOfYearNo SmallInt, DayNo TinyInt, WeekNo TinyInt, WeekDayNo TinyInt)
    While @beginDate <= @endDate
    Begin
    Insert Into @Calendar
    Select
    @beginDate As CalendarDate
    ,(Case When DATEPART(Weekday, @beginDate) In (7, 1) Then 1 Else 0 End) As IsWeekend
    ,DATEPART(Year, @beginDate) As YearNo
    ,DATEPART(QUARTER, @beginDate) As QuarterNo
    ,DATEPART(MONTH, @beginDate) As MonthNo
    ,DATEPART(DayOfYear, @beginDate) As DayOfYearNo
    ,DATEPART(Day, @beginDate) As DayNo
    ,DATEPART(Week, @beginDate) As WeekNo
    ,DATEPART(WEEKDAY, @beginDate) As WeekDayNo
    Set @beginDate = DateAdd(Day, 1, @beginDate)
    End
    Select * From @Calendar Where IsWeekend = 1
    Best Wishes, Arbi --- MCC 2011; Please vote if you find this posting was helpful or Mark it as answered.

  • I keep getting the message come up every month or so. Especially after I've just download a lot of new tracks.The file "iTunes Library.itl" cannot be read because it was created by a newer version of iTunes. Would you like to download iTunes now?

    I know how to get my old library back - but I want this to stop coming up time and time again. My Mac won't allow me to down load the lastes iTunes software. What do I do?

    this just started w/ me yesterday.  I was running 10.5.3, and nothing changed - the message just appeard out of nowhere.  I update to the latest iTunes 10.6 but the message is the same.
    Sounds like probably some sort of Library file corruption.
    The two options available in the message box are "Download" and "Quit".  Download is useless because I'm already running the latest.  Quit is pretty useless.
    I was going to just create a new Library and re-import all my music.  Of course, all my iPhone sync settings are going go have to be recreated.

  • Function to get the last day of the current month

    Hi friends
    Now I need to know a function to get the last day of a month. I had between my notes that function but I do not find it and I think you can give the answer faster.
    Thanks
    Joel Pérez
    DBA Oracle

    I know emoticons are a bit naff but in the absence of a UBB markup to indicate humourous intent they do serve to indicate a joke. This is useful in a purely verbal domain like these forums, especially given that many participants don't have English as their first lanaguage and so often miss the wordplay.
    Cheers, APC

  • Query to find the fifteenth day of a month

    i want to know the fifteenth day of a month in oracle
    can anyone send the query

    Hi,
    Try this:
    "afiedt.buf" 2 lines, 57 characters
      1* SELECT TO_CHAR(TO_DATE('15-AUG-2006'),'Day') FROM DUAL
    SQL>/
    TO_CHAR(T
    Tuesday
    1 row selected.
    SQL>Regards
    Avinash

  • Adobe Acrobat Pro XI 11.0.06 when I reduce file size or try to optimize, I get this error: The document could not be saved. A number is out of range. I do the exact same thing every month and it works. I did it a few days ago and it worked. I receated the

    Adobe Acrobat Pro XI 11.0.06 when I reduce file size or try to optimize, I get this error: The document could not be saved. A number is out of range. I do the exact same thing every month and it works. I did it a few days ago and it worked. I receated the pdf, I renamed it. tried to do it before I imported more pages. no go. the 16 mg pdf will normally reduce to 5 or 6

    Hi,
    Are you facing the issue with any pdf file?
    Please try updating Acrobat to 11.0.7 and check.
    You might also want to repair Acrobat and see.
    Regards,
    Rave

  • I purchased an iPad mini on October 10th.  I want to return it and get the new ipad mini retina when it comes out.  How do I do that if the new ipad mini release date isn't until "later in November", which is beyond the 14 days from my purchase date?

    I purchased an iPad mini on October 10th.  I want to return it and get the new ipad mini retina when it comes out. I am currently still within the 14 day return/exchange window but how can I exchange it if the new ipad mini release date isn't until "later in November", which would be beyond the 14 days from my purchase date?  If apple announces a new version of a product you just purchased but won't actually release it for more than 14 days, how can you possibly exchange the one you just bought?  Is my only option to return the one I bought on the 10th (so return by 10/24) and then not have an iPad until the new one is available for purchase?  Or would it make any sense to return the one I bought, get a new one, which would presumably have another 14 day return window, and then exchange THAT one for the new ipad mini w/ retina when it comes out (hopefully within that second 14 day window)?

    Call the apple store you got it from and ask them. Sometimes in the past they've extended the 'no questions asked return' but only Apple can tell you for sure.

  • Ive tried to make a purchase with my other apple id but i keep getting prompted to purchase this app again....i want to continue in the game im working on but i dont want to wait the 30 days until i can use my new prepaid credit card(mastercard)....both i

    Ive tried to make a purchase with my other apple id but i keep getting prompted to purchase this app again....i want to continue in the game im working on but i dont want to wait the 30 days until i can use my new prepaid credit card(mastercard)....both ids are linked to my facebook does that help?

    Ive tried to make a purchase with my other apple id but i keep getting prompted to purchase this app again....i want to continue in the game im working on but i dont want to wait the 30 days until i can use my new prepaid credit card(mastercard)....both ids are linked to my facebook does that help?

  • I want to get number of days in the month I've chosen from Timeline slicer.

    I want to get number of days in the month
    I've chosen from Timeline slicer,
    does anyone know how to do?
    The problem I want to solve is to divide
    the number of customer visits as a salesman
    made during a month by the number of
    days in the month.

    Excel 2013 Pro Plus with PowerPivot.
    Count working days per month
    considering weekends and holidays.
    With help from book:
    "Building Data Models with PowerPivot"
    by Alberto Ferrari and Marco Russo.
    Easy. Not.
    http://www.mediafire.com/view/rw78t1y3bg8vm0c/04_10_15.xlsx

Maybe you are looking for

  • How to insert a gif file into a table?

    Hi, I need to insert a gif file into a table. Can anyone tell me where I can find the information on how to create this kind of table, how to insert a gif file into a table and how to select? Thanks, Helen

  • LMS3.0.1 Log files' size are not purged.

    There is a LMS 3.0.1. Every day size of all log files only are increased. I have a 12G particion for log files but it's full every 2 weeks. In this case I have to stop LMS, delete all log files and start LMS manually every two weeks. Also, there is f

  • Alert Framework using for XI

    Hello all, I want to get an alert every time, a message in XI (either in the ABAP Part and in the Adapter Framework) will get an error status. I have looked a lot of different documentation but I do not get through. Can somebody explain briefly, step

  • Lookout Error

    We are seeing the following error on one of our machines.  Has anyone else seen this and found a fix?? Thanks! Lookout Exe has encountered a problem and needs to close. Error Signature AppName:lookout.exe AppVer:4.0.1.61 ModVer:5.1.2600.2180 ModName:

  • HT4059 I have IPad Air. I use Drop Box. Downloaded manuscript with Ipad air does not down load completely, no images. I  used Ipages, and Files Pro. Mac IOS does it and windows XP.

    when I download a manuscript from my DropBox to My  Ipad air, it does not open Images and some contents are not aligned, yet if  I  download from MyMac or XP it works. On  Ipad air I have used the Dropbox, Pages and files Pro. What is wrong?