Calendar add question

hi all ! Im needing to configure a date to be the first day of the next month we are atm. For example if we are now at second of march the date should be for april's first.
This is how Im calculating it atm.
           String sfechap = ("01" + "/" + (cal.MONTH+2) + "/" + saño2);
                System.out.println(sfechap);
                SimpleDateFormat sdfp = new SimpleDateFormat("dd/MM/yyyy");
                java.sql.Date datNac2 = new java.sql.Date(sdfp.parse(sfechap).getTime()); //pasamos la fecha a este formatoI dont know why I have to add 2 to the formula to make it work. And I dont know how its going to behave with changing years,etc.
The other method is to use cal.add(Calendar.MONTH,1); but I dont know if that changes the Calendar during the entire execution or just by that moment.
I tried to use something like:
String sfechap = ("01" + "/" + cal.add(Calendar.MONTH,1) + "/" + saño2);But this is not allowed saying that type void is not allowed.
THanks a lot for your help

dcminter wrote:
Also look at JodaTime which is often recommended as an alternative to the supplied Date and Calendar classes.dcminter++
#! /usr/bin/groovy
import org.joda.time.*
def firstDayOfNextMonth(date) {
    return date
            .withDayOfMonth(1)
            .withFieldAdded(DurationFieldType.months(), 1)
expected = new LocalDate("2009-04-01")
assert firstDayOfNextMonth(new LocalDate("2009-03-01")) == expected
assert firstDayOfNextMonth(new LocalDate("2009-03-31")) == expected~

Similar Messages

  • Error in Calendar.add (almost) evey last Monday of March

    Is the following a known bug? I am running under Windows 2000 and using
    C:\jdk1.4>java -version
    java version "1.4.1"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
    Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
    * Filename: CalendarBug.java
    * Every last Monday of March (except those with a whole week after it),
    * gives a wrong result when subtracting 24 hours with the Calendar.add function.
    * These specific dates give -25 hours...
    * Selected output:
    * Set date: Mon Mar 26 00:00:00 CEST 2001
    * -->Adjusted 24 hours: Sat Mar 24 23:00:00 CET 2001
    * Set date: Mon Mar 25 00:00:00 CET 2002
    * Adjusted 24 hours: Sun Mar 24 00:00:00 CET 2002
    * Set date: Mon Mar 31 00:00:00 CEST 2003
    * -->Adjusted 24 hours: Sat Mar 29 23:00:00 CET 2003
    * Set date: Mon Mar 29 00:00:00 CEST 2004
    * -->Adjusted 24 hours: Sat Mar 27 23:00:00 CET 2004
    * Does anyone care to explain?
    * The result is the same when substituting seedDate.add(Calendar.HOUR,-24) with
    * - seedDate.add(Calendar.HOUR_OF_DAY,-24)
    * - seedDate.add(Calendar.MINUTE, -24*60)
    * Date Created: 25. september 2003 09:53:20
    * Written by: Skjalg Bjorndal
    import java.util.Calendar;
    import java.util.Date;
    import java.util.GregorianCalendar;
    public class CalendarBug {
        GregorianCalendar seedDate = new GregorianCalendar();
        public void lastMondayInMarch(int year, int month, int date) {
            System.out.println("   ------- Year: " + year + " ----------");
            for (int i = 0; i < 10; i++) {
                System.out.println("   ---------- " + i + " ----------");
                seedDate.set(year, month, date + i);
                seedDate.setTime(zeroTime(seedDate.getTime()));
                System.out.println("   Set date:          " + seedDate.getTime().toString());
                seedDate.add(Calendar.HOUR, -24);
                if (seedDate.get(Calendar.HOUR_OF_DAY) != 0) {
                    System.out.print("-->");
                } else {
                    System.out.print("   ");
                System.out.println("Adjusted 24 hours: " + seedDate.getTime().toString());
            System.out.println("");
        private Date zeroTime(Date date) {
            Calendar cal = Calendar.getInstance();
            cal.setTime(date);
            // Zero out time:
            cal.set(Calendar.HOUR_OF_DAY, 0);
            cal.set(Calendar.MINUTE, 0);
            cal.set(Calendar.SECOND, 0);
            cal.set(Calendar.MILLISECOND, 0);
            return cal.getTime();
        public static void main(String args[]) {
            CalendarBug aBug = new CalendarBug();
            aBug.lastMondayInMarch(2001, 2, 19);
            aBug.lastMondayInMarch(2002, 2, 18);     // OK - hole week after last Monday of month
            aBug.lastMondayInMarch(2003, 2, 24);
            aBug.lastMondayInMarch(2004, 2, 22);

    Thanks for both of your prompt replies!
    The number of hours to be subtracted is configurable in a property file in the program in which the problem arose. I.e. it could be 1, 23, 24, 120 or whatever...
    My solution will be to download 1.4.2, as kurisu1 pointed out would solve the problem.
    Until we tested the rest of the code with 1.4.2, I will reprogram and use the seedDate.add(Calendar.DATE, -1); as a temporary work around.
    Best regards
    __Skjalg

  • Help on calendar.add() adding -60 days

    hi all
    i am having problem with the add() in Calendar class. i try to get a date that is 60 days prior to the current date, and here is what i coded:
    Calendar calendar = new GregorianCalendar();
    System.out.println("current day : "+calendar.toString());
    calendar.add(Calendar.DAY_OF_MONTH, -60);      
    System.out.println("after adding (-60), the day is "+calendar.toString()); and here is the output of the print:
    --- getEffectiveDate ---
    current day : java.util.GregorianCalendar[time=1088608525321,areFieldsSet=true,a
    reAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/New
    _York",offset=-18000000,dstSavings=3600000,useDaylight=true,transitions=235,last
    Rule=java.util.SimpleTimeZone[id=America/New_York,offset=-18000000,dstSavings=36
    00000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1,startDayO
    fWeek=1,startTime=7200000,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayO
    fWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=
    1,ERA=1,YEAR=2004,MONTH=5,WEEK_OF_YEAR=27,WEEK_OF_MONTH=5,DAY_OF_MONTH=30,DAY_OF
    _YEAR=182,DAY_OF_WEEK=4,DAY_OF_WEEK_IN_MONTH=5,AM_PM=0,HOUR=11,HOUR_OF_DAY=11,MI
    NUTE=15,SECOND=25,MILLISECOND=321,ZONE_OFFSET=-18000000,DST_OFFSET=3600000]
    after adding (-60), the day is java.util.GregorianCalendar[time=1083424525321,ar
    eFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInf
    o[id="America/New_York",offset=-18000000,dstSavings=3600000,useDaylight=true,tra
    nsitions=235,lastRule=java.util.SimpleTimeZone[id=America/New_York,offset=-18000
    000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,sta
    rtDay=1,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=2,endMonth=9,
    endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minima
    lDaysInFirstWeek=1,ERA=1,YEAR=2004,MONTH=4,WEEK_OF_YEAR=18,WEEK_OF_MONTH=1,DAY_O
    F_MONTH=1,DAY_OF_YEAR=122,DAY_OF_WEEK=7,DAY_OF_WEEK_IN_MONTH=1,AM_PM=0,HOUR=11,H
    OUR_OF_DAY=11,MINUTE=15,SECOND=25,MILLISECOND=321,ZONE_OFFSET=-18000000,DST_OFFS
    ET=3600000]it looks like it only subtracted 30 days from current date. i wonder what happen to the 60 days. does anyone have any idea why? thanks for ur help.

    DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT);
    Calendar calendar = Calendar.getInstance();
    System.out.println("current day : " + df.format(calendar.getTime())); // 6/30/04
    calendar.add(Calendar.DAY_OF_MONTH, -60);
    System.out.println("after adding (-60), the day is " + df.format(calendar.getTime())); // 5/1/04What's the problem?

  • Calendar.add for Central African Timezone (GMT +2)

    Hi all,
    I am trying to add x days to 1900-01-01 06:00 at the Central African Timezone (GMT +2). However, the result from simple Calendar.add(Calender.DATE, numDays) is giving me 4 min and 12 seconds less. This only happens when the final date pass March 1, 1903 (which is the only DST day of Central African).
    ie:
    origDate = 1900-01-01 06:00 CAT
    numDaysToAdd = 1154
    resultDate = 1903-03-01 05:55:48 CAT (instead of 06:00)
    I searched around the bug database and someone suggests to always use GMT to do calendar calculation. However, with that, I will get 2 extra hours.
    ie:
    origDate = 1900-01-01 06:00 CAT
    numDaysToAdd = 1154
    resultDate = 1903-03-01 08:00:00 CAT (instead of 06:00)
    Any idea on how to work this out?
    Here is the test code:
    import java.util.*;
    import java.math.*;
    public class Test2
    public static void main(String[] args) {
    TimeZone.setDefault(TimeZone.getTimeZone("Africa/Harare"));
    // Create a date set the Time to 1900/01/01 06:00 AM
    Calendar now = Calendar.getInstance();
              now.set(1900, 0, 1, 6, 0, 0);
              Date d = new Date(now.getTimeInMillis());
              System.out.println(d.toString());          
         System.out.println();
              // try to add 1154 days to d with GMT timezone
              Date d2 = addDaysWithGMT(d, 1154);
              System.out.println("Extra two hours: " + d2.toString());
              System.out.println();
              // try to add 1154 days to d with original timezone
              d2 = addDays(d, 1154);
              System.out.println("Missing 4 minutes and 12 seconds: " + d2.toString());
         public static Date addDaysWithGMT(Date d, int days) {
    Calendar now=Calendar.getInstance();
              now.setTimeZone(TimeZone.getTimeZone("GMT"));
              now.set(d.getYear() + 1900, d.getMonth(), d.getDate(), d.getHours(), d.getMinutes(), d.getSeconds());
              System.out.println("after set: " + now.getTime());
              now.add(Calendar.DATE,days);
              System.out.println("after add: " + now.getTime());
              now.setTimeZone(TimeZone.getDefault());
              return new Date(now.getTimeInMillis());
         public static Date addDays(Date d, int days) {
    Calendar now=Calendar.getInstance();
              now.set(d.getYear() + 1900, d.getMonth(), d.getDate(), d.getHours(), d.getMinutes(), d.getSeconds());
              System.out.println("after set: " + now.getTime());
              now.add(Calendar.DATE,days);
              System.out.println("after add: " + now.getTime());
              return new Date(now.getTimeInMillis());
    Any help would be appreciated.
    Thanks,
    Winnie

    Not going to read all that, especially with the unformatted code. However, a couple of things leap out at me.
    * 1903
    * 4 min., 12 sec.
    As a rough guess, this sounds like an accumulation of leap seconds.
    As a second out-of-my-butt guess--this TZ might be one of the less common/"popular"/well-known ones, so it's possible that it has various adjustments to its rules over the years. Note that I don't really know what I'm talking about here--just venting a vague gut feeling.

  • Calendar Sync Question

    Nice forum,
    I have a question re calendard. in my 9000 I have a work account using BES and one more e-mail work acount using BIS (since they are pop3). When I shcedule an appointment from outlook and choose to send the invitation the pop3 account the appointment is synced with my BB fine (BB calendar shows it in blue).
    But in case I use my 9000 to to add an appointment (BB calendar shows it in orange) using the pop3 account (the default is desktop BES account) then this appointment is not synced with outlook.
    Does anyone know if there is a way to sync these appointments with the outlook calendar(s), too?
    Thanks!

    Hi Donald,
    It's be a pleasure to help you on this!
    As you said, you events created on your computers will show up automatically on my iPod Touch's calendar (if activated). But also, if you make any change or add a new event directly on your iPod, they will definitely appear also on your computer, the next time you access it!
    If this is not the case can someone explain to me how I get the events I have added on the iPod Touch to show up on the calendars at the other locations?
    Have you ever read [this article|http://www.apple.com/mobileme/setup> from Apple. It should be helpful, to teach you how to setup your devices!
    Hope this helps!
    !http://signatures.mylivesignature.com/54486/309/C0888EFB23D8E5532D986DDFEB2F111 D.png!

  • Rental Calendar Add-On

    Hi,
    I'm looking for an add-on which would allow me to manage a rental calendar for a part of my stock items... I don't need any invoicing or ordering, this is just for internal renting of items, all I need is to be able to know if a stock item is available for a certain date, or know if it has been rented or is already reserved by someone!
    Does anyone know about an add-on that would fit this kind of need?
    Thanks
    Stéphane Hanrez

    Hi Stephane,
    This is a forum focussed in development questions.
    As your question is more a commercial question please post it in the CPSN forum.
    Please look at the following thread for more information: Got a question about customization / implementation? Maybe ask it in CPSN!
    Regards
    Trinidad.

  • Emailing calendar event question

    Is it possible to email a calendar event from my iMac to someone with an iPhone, so they can easily add the event to their calendar?  If I email an event, the outgoing message says:
    "To add it to your calendar, click the link below"
    But when they click the iCal...ics link in the email, nothing happens.  I know if I view the same email on my Mac in the Mail app and click on the link, I'm prompted to add the event to my calendar.
    -Thanks

    Sorry, answering my own question. It seems you have to do it on iCloud. Kind of frustrating if you're not on your computer but at least it's possible. Thanks for reading.

  • Calendar adds an extra day when creating an event in ios 8.1.3. Is this a known bug?

    When i add an event using the calendar app in ios 8.1.3, it adds an extra day to the event when using a range of dates. I am able to recreate the problem. when entering the event i select a range of dates and confirm that it is what i want. after submitting, i verify and it has added an extra day at the end. Is this a known bug or am i on my own? Help please. this is annoying having to check each event after entering it.

    Ive reset, restored and this is the second phone. Thought it maybe a wonky screen that would shift it while setting dates. THe only thing I can think of is that I am syncing with google calendar, but it only happens when setting events in ios not if i do it from google website on desktop PC.

  • Calendar Program Question

    Hello! Among the lab assignments I have done for my class, I have this calendar project I've been working on for a good while now. My only question is how do I set the days of the month properly with the empty columns I have encoded in the program? This is a long program and I really haven't put any time into making it look neat, so bare with me!
    What I get so far in the interaction pane is:
    March  2008
                  1  2  3
      4  5  6  7  8  9 10
    11 12 13 14 15 16 17
    18 19 20 21 22 23 24
    25 26 27 28 29 30 31
    and what I'm looking for, obviously, is:
    March  2008
                        1
      2  3  4  5  6  7  8
      9 10 11 12 13 14 15
    16 17 18 19 20 21 22
    23 24 25 26 27 28 29
    30 31> Sometimes I over look something minor, but I'm stumped and this is the ONLY thing I have to do to finish this project!
    /* Calendar Program that displays the days of the
    * month between January 1800 to December 2099
    import javax.swing.JOptionPane;
    public class CalendarProgram
      public static void main(String[] args)
        String monthStr, yearStr, displayStr;
        int year, firstTwoYear, lastTwoYear;
        int daysinMonth = 0, dayofWeek = 0;
        int firstDayofMonth = 1;
        //asks user for input, and then checks if monthStr matches with the user, then displays it.
        monthStr = JOptionPane.showInputDialog(null, "Please enter the month (e.g. January):");
        if(monthStr.equals("January"))
            displayStr = monthStr;     
        else    
        if(monthStr.equals("February"))
            displayStr = monthStr;
        else
        if(monthStr.equals("March"))
            displayStr = monthStr;
        else
        if(monthStr.equals("April"))        
            displayStr = monthStr;
        else
        if(monthStr.equals("May"))
            displayStr = monthStr;
        else
        if(monthStr.equals("June"))
            displayStr = monthStr;
        else
        if(monthStr.equals("July"))
            displayStr = monthStr;
        else
        if(monthStr.equals("August"))
            displayStr = monthStr;
        else
        if(monthStr.equals("September"))
            displayStr = monthStr;
        else
        if(monthStr.equals("October"))
            displayStr = monthStr;
        else
        if(monthStr.equals("November"))
            displayStr = monthStr;
        else
        if(monthStr.equals("December"))
            displayStr = monthStr;
        //asks for the year from user
        yearStr = JOptionPane.showInputDialog(null, "Please enter the year between 1800 and 2099:");
        year = Integer.parseInt(yearStr);    
        //displayStr that displays the user's month and year.
        displayStr = monthStr + "  " + yearStr + "\n";
        System.out.print(displayStr);
        //computation of the first two digits and last two digits of the year.
        firstTwoYear = year / 100;
        lastTwoYear = year % 100;
        //HUGE computation to check the dayofWeek variable. This should compute where the first day of the month will display on the calendar.
        if ((lastTwoYear >= 0) && (lastTwoYear <= 99))
         dayofWeek = lastTwoYear * (1/4);
        if (firstTwoYear == 18)
          dayofWeek = dayofWeek + 2;
        else if (firstTwoYear == 19)
          dayofWeek = dayofWeek;
        else if (firstTwoYear == 20)
          dayofWeek = dayofWeek + 6;
        //Checks to see if a given year has a leap year or not.
        boolean leapYear =
          (year % 4 == 0 && year % 100 != 0) || (year % 400 == 0);
        if(monthStr.equals("January"))
          daysinMonth = 31;
          if(leapYear)
             dayofWeek = dayofWeek + 6;
           else
             dayofWeek = dayofWeek + 1;
        else    
        if(monthStr.equals("February"))
           if(leapYear)
             dayofWeek = dayofWeek + 3;
             daysinMonth = 29;
           else
             dayofWeek = dayofWeek + 4;
             daysinMonth = 28;
        else
        if(monthStr.equals("March"))
             dayofWeek = dayofWeek + 4;
             daysinMonth = 31;
        else
        if(monthStr.equals("April"))
             dayofWeek = dayofWeek;
             daysinMonth = 30;
        else
        if(monthStr.equals("May"))
             dayofWeek = dayofWeek + 2;
             daysinMonth = 31;
        else
        if(monthStr.equals("June"))
             dayofWeek = dayofWeek + 5;
             daysinMonth = 30;
        else
        if(monthStr.equals("July"))
              dayofWeek = dayofWeek;
              daysinMonth = 31;
        else
        if(monthStr.equals("August"))
              dayofWeek = dayofWeek + 3;
              daysinMonth = 31;
        else
        if(monthStr.equals("September"))
              dayofWeek = dayofWeek + 6;
              daysinMonth = 30;
        else
        if(monthStr.equals("October"))
              dayofWeek = dayofWeek + 1;
              daysinMonth = 31;
        else
        if(monthStr.equals("November"))
              dayofWeek = dayofWeek + 4;
              daysinMonth = 30;
        else
        if(monthStr.equals("December"))
              dayofWeek = dayofWeek + 6;
              daysinMonth = 31;
        dayofWeek = dayofWeek + firstDayofMonth;
        dayofWeek = dayofWeek % 7;
        //this checks if dayofWeek equals 0, it will be placed on the 7th column (Saturday)
        //else the dayofWeek will enter 1-6 like normally (Sunday-Friday)
        int colnum;
        if (dayofWeek == 0)
          colnum = 7;
        else
          colnum = dayofWeek;
        for(int i = 0; i < colnum; i++)
          System.out.print("   ");
        //Displays days of the month and inserts empty columns before 1st day
        for(int day = 1; day <= daysinMonth; day++)
       if (day < 10)
         System.out.print("  " + day);
       else
         System.out.print(" " + day);
       if ((colnum + day) % 7 == 0)
         System.out.println();

    Well, I could move the displayStr = monthStr into the other section of the code where the months are at, but as far as using java.util.Calendar/GregorianCalendar classes the professor made no recommendation of it (though it would be easier no doubt.) That's what he told us to use to display the month properly. I did look in the web for other examples and they did use the java.util.Calendar/GregorianCalendar classes, but I have no idea how to properly implement it. Besides, I was not asking about redundancy.
    After I made the thread, I did work on it a little bit more, and I changed:
       if ((lastTwoYear >= 0) && (lastTwoYear <= 99))
         dayofWeek = lastTwoYear * (1/4); into:
    if ((lastTwoYear >= 00) && (lastTwoYear <= 99))
         dayofWeek = (int) (lastTwoYear * .25);The year 2008 was properly displaying everything on the correct dates, but the other years are off by a few days. So now its either the computation in the long sequence of dayofWeek variable, or (what the professor mentioned in the assignment) it could be:
         loop (for the number of days in the month)
           displayStr = displayStr + <digit in field width of 3>
           if last digit in row, then append �\n� to displayStr}The whole loop, including the "append "\n" to displayStr" doesn't make much sense. So that could be where I'm having problems.

  • Calendar add event doesn't work right

    Click on the + and it opens a window to create a quick event, but you can't type into the box.  Only pressing enter opens the new event window where you can specify the date, times, description.
    I'm using the daily view and have Calendar selected as default.

    Let me clarify what I know to work:
    If you are composing a message, and simply type, for example, www.cnn.com then when the message is sent, this will become an active, clickable, link and fully enabled -- but it is not seen as such while in the Compose window before sending.
    However, if you type a word, such as "news", highlight it, go to Edit, choose Add Hyperlink, and then type "www.cnn.com" in the resulting box (without the quotation marks), then it does not get correctly formed to be a valid URL when clicked in the message after sending, despite changing font color and underlining. The Add Hyperlink (to change ordinary words into links via HTML) is designed it would appear, mainly to copy and paste an URL from the address bar of a browser, and there are no typing shortcuts.
    I will now use this message to test the same in Safari:
    hyperlink1 vs hyperlink2 where the text for hyperlink1 does NOT include the http://
    This test proves the same is true of Safari and composing HTML for the creation of true Hyperlinks -- the address used must be the same as what will result in the address bar once the web page is reached.
    The code for the above, with ordinary brackets substituted for angle brackets is:
    [a href="www.cnn.com"]hyperlink1[/a] vs [a href="http://www.cnn.com/"]hyperlink2[/a]
    Ernie

  • Long shot...  Can an entry in Calendar add a new line in Numbers?

    I am a photographer.  I am setting up a very simple simple Job tracking spreadsheet.  Column A is Job number, column B is Client, column C is Date, etc...  One line per job type of thing.
    When I get a job I am often not at the computer so I enter it on my iPhone in the Calendar app.  Is there a way I can add some sort of flag in that entry which will then open my spreadsheet and add a new line with a new sequential job number and the Client and Date?
    I realize that is probably asking for a lot but I thought I would at least ask, just in case...
    Thank you for any help!
    Bo

    This is a proof-of-concept Applescript that logs events from Calendar into a Numbers spreadsheet. It expects a spreadsheet to be open, it doesn't put new events at the bottom of the table or add new rows if needed, it doesn't move the event from the Unlogged calendar to the Logged calendar. It doesn't do any error-checking (it would fail if you didn't have a calendar called "Unlogged Jobs"). But I think it has potential.
    tell application "Calendar"
              set event_count to (count events of calendar "Unlogged Jobs")
              repeat with x from 1 to event_count
                        tell event x of calendar "Unlogged Jobs"
                                  set {client, sdate, place} to {summary, start date, location}
                        end tell
                        tell application "Numbers"
                                  tell document 1
                                            tell sheet 1
                                                      tell table 1
                                                                tell column 2 to set value of cell (x + 1) to sdate
                                                                tell column 3 to set value of cell (x + 1) to client
                                                                tell column 4 to set value of cell (x + 1) to place
                                                      end tell
                                            end tell
                                  end tell
                        end tell
              end repeat

  • Bug on calendar Add Event

    Hi.
    Days ago I upgraded to iOS 5.0.1 (9A405) and some times have trouble to add a new event on my calendar.
    Press button "+", then type title and time of the event, when I hit "Done" just nothing happens. Event if I hit "Cancel" nothing happens and the App remains on the screen Add Event.
    This has happend twice.
    Thanks!,
    JN

    I don't have anything on that date, but just out of curiosity, is there anything scheduled for March 15th (or 14th) 2010? I ask because you have an event on March 9, 2009, which is the day after daylight savings time goes into effect.
    Either way, you might want to submit feedback to Apple.

  • Calendar function question - somebody must know out there...

    Any organization has meetings scheduled once a month, recurring on the third Wednesday ... or once a quarter on the first Friday. I can't see how to do this in Calendar. It's gotta be there, right? Please tell me I'm blind and solve my dilemma. Thank you very much.

    It doesn't appear that they have this option yet. It is available in iCal so maybe it will come in an iPhone software upgrade down the road.
    In iCal, at the bottom of the same list that comes up in iPhone for repeat events, there is a Custom option. From there you can select "every 2nd Tuesday" etc.
    I know this isn't the answer you wanted.
    Can you input these repeat items in whatever calender software you use on your computer and then sync it to your iPhone? At least until Apple adds this function to the Calender app on iPhone?
    Good luck!

  • ASM Disk Remove/Add Question

    Hello All,
    I have a quick question -
    We have an ASM Diskgroup that had 8 Disks in it. I removed 2 Diskss and the Diskgroup has been rebalanced. I have not done anything with the removed Disks.
    They both appear in the ASM target as eligble to add back into the Diskgroup.
    Do I need to re-format/partition/create disk on them before adding them back in? Would existing data on the Diskl cause an issue in the Diskgroup?
    This is the first time I will be adding back Disks that have been previously in the Diskgroup.
    Thanks in advance for the advice.
    Michele

    Hi,
    Disks eligible to be assigned to a diskgroup must have the status "CANDIDATE" or "FORMER" or "PROVISIONED".
    · CANDIDATE - Disk is not part of a disk group and may be added to a disk group with the ALTER DISKGROUP statement
    · PROVISIONED - Disk is not part of a disk group and may be added to a disk group with the ALTER DISKGROUP statement. The PROVISIONED header status is different from the
    CANDIDATE header status in that PROVISIONED implies that an additional platform-specific action has been taken by an administrator to make the disk available for ASM.
    · FORMER - Disk was once part of a disk group but has been dropped cleanly from the group. It may be added to a new disk group with the ALTER DISKGROUP statement.
    The ALTER DISKGROUP...DROP DISK without WAIT option statement returns before the drop and rebalance operations are complete. Do not reuse, remove, or disconnect the dropped disk until the HEADER_STATUS column for this disk in the V$ASM_DISK view changes to FORMER.
    You don't need change anything on OS Level. Oracle will reuse asmdisk dropped without needs perform any administrative task on OS Level.
    Regards,
    Levi Pereira

  • Add Question dynamically in crm survey

    How to add the question dynamically in crm survey?
    I checked the two class CL_CRM_SVY_BUILDER and  CL_CRM_SVY_DOM.
    IN htis method Insert_question method is there.
    But how to use this method. What value should we pass in node.?
    If anybody knows about it, then please let me know.

    HI Dezpo,
    Thanks a lot for replying.
    I had checked the updated <b>SAP Note 834573</b> -Interactive Forms based on Adobe software: Acrobat/Reader version, which states that:
    For SAP Interactive Forms by Adobe, you require the following:
    Adobe Acrobat as of Version 7.0.9
    Adobe Reader as of Version 7.0.9
    <b>Important:</b>
    Note that you can only have limited use of Reader 8.0 for forms that, at runtime, are integrated in a WebDynpro application through the xACF technology (Active Components Framework). In this runtime environment, Reader 8.0 currently only supports static interactive forms. If you are using <b>dynamic interactive PDF forms</b>, we recommend that you use <b>Reader 7.0.9.</b> In the application, you can use parameters, or you can call methods, to determine whether you want to create a static or dynamic PDF form.
    I tried with the reader versions - 7.0.7,  7.0.9 and 8.01, but it doesn't work for either of them.
    Regards,
    Siddhartha Jain

Maybe you are looking for

  • New RAM problems with my Dual G4 1.25 MDD

    Howdy I've had my Dual G4 1.25 MDD for 2 years and love it. I got it with 1GB RAM, thinking I was set. For Christmas I wanted to Upgrade the RAM to 2GB. from My PowerMac G4 Manual I knew I needed 2x 512MB PC2700 DDR333 CL2.5 SDRAM DIMM's. I went to D

  • View only 1 or more results on a form

    I did "List Manager" (view only) using this SQL query select "DBSID_NAME" from "DBSIDS","DBSID_LOOKUP","SERVERS" where instr(upper("ID"),upper(nvl(:P3_ID,"ID"))) > 0 and "DBSID_ID" = "SIDLOOKUP_ID" and "ID" = "SERVERLOOKUP_ID" it only returns the fir

  • Downloading and installing on admin account vs standard account

    What is the difference for downloading and installing files when: logged in on an admin account logged in on a standard account (using the admin details when prompted) I ask this, because when I am in my standard account, the downloaded files and ins

  • How to make the border of a linked pciture go away in IE(8)

    picture A links to picture B. A blue border around picture A appears and when I clicked picture A which now links and displays pictures B, but after going back to the page that contains picture A, there is a purple color border appears on picture A i

  • How can I edit movies in iTunes?

    I have some Youtube movies in iTunes that I would like to shorten a little but when I try to open the export in iMovie I cannot. What format do I need to be able to do this? Thanks, Richard