Dates misaligned in Calendars

When I received my calendar, the dates in the calendar are one week off. Fo instance, "Happy Birthday Mom" is on the 1st but it is printed on the 6th. In iPhoto (6.0.2), the dates are perfectly aligned, but when I sent it off for printing to Apple and it came back, the dates were one week off. Also, when I treid to print my own version the same thing happened, so this is obviously something that has to do with my computer's PDF processing. Is there a way to fix this? Thank You!

Apple resolved this problem very quickly after I contacted them. The matter was resolved within a matter of one week. They sent me a new calendar free-of-charge - and free-of-shipping charges as well! Very satisfied.

Similar Messages

  • Can I restore a single calendar archive to iCal without replacing my current ical data in other calendars?

    I archived an iCal calendar.  When I went to import it back into iCal, a message says "The iCal backup “abcd.icbu” will replace your current iCal data. You can’t undo this action."  Will it replace ALL my current iCal data, or just any data in a calendar labeled "abcd"?

    imci,
    As the warning says: "...will replace your current iCal data." All of your current data will be overwritten with the .icbu file.
    I presume that you do not want to do that.
    One method of accomplishing the integration without losing current data, is to use iCal>File>Export>Export... for each one of your current calendars. That method will create .ics files for the individual calendars. After creating those .ics files and saving them to a suitable location, you can then use the .icbu file to restore from the archive.
    After the archive restoration is complete, you can go to the saved location and double click on the .ics files. You will be offered a choice to create a new calendar, or integrate into an existing calendar. Use the choice appropriate for your situation.

  • Disable all the previous dates in a calendar form

    hi guys,
    I am having a calendar form in which it displays all the previous,current,future dates and months.when i click on the particular button on the
    calendar it dispalys the date, month, and year.its working fine.But what i need is, i want to disable all the previous dates in the calendar till the current
    date.But not to disable the previous button.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    class CalendarForm extends JFrame
    JButton[] btn = new JButton[49];
    int month = java.util.Calendar.getInstance().get(java.util.Calendar.MONTH);
    int year = java.util.Calendar.getInstance().get(java.util.Calendar.YEAR);
    JLabel lbl = new JLabel("", JLabel.CENTER);
    JTextField tf1=new JTextField();
    public CalendarForm()
    buildGUI();
    setDates();
    public void buildGUI()
    setLocation(200,350);
    setDefaultCloseOperation(HIDE_ON_CLOSE);
    String[] header = {"Sun","Mon","Tue","Wed","Thur","Fri","Sat"};
    JPanel midPanel = new JPanel(new GridLayout(7,7));
    midPanel.setPreferredSize(new Dimension(350,250));
    for(int x = 0; x < btn.length; x++)
    final int selection = x;
    btn[x] = new JButton();
    btn[x].setFocusPainted(false);
    if(x>6)
    btn[x].addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent ae){
    displayDatePicked(btn[selection].getActionCommand());}});
    if(x < 7)
    {btn[x].setFont(new Font("Lucida", Font.PLAIN, 8)); btn[x].setText(header[x]);}
    midPanel.add(btn[x]);
    JPanel lowPanel = new JPanel(new GridLayout(1,3));
    JButton prevBtn = new JButton("<< Previous");
    prevBtn.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent ae){
    month--;setDates();}});
    lowPanel.add(prevBtn);
    lowPanel.add(lbl);
    JButton nextBtn = new JButton("Next >>");
    nextBtn.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent ae){
    month++;setDates();}});
    lowPanel.add(nextBtn);
    getContentPane().add(midPanel,BorderLayout.CENTER);
    getContentPane().add(lowPanel,BorderLayout.SOUTH);
    pack();
    public void setDates()
    for(int x = 7; x < btn.length; x++) btn[x].setText("");
    java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("MMMM yyyy");
    java.util.Calendar cal = java.util.Calendar.getInstance();
    cal.set(year,month,1);
    int dayOfWeek = cal.get(java.util.Calendar.DAY_OF_WEEK);
    int daysInMonth = cal.getActualMaximum(java.util.Calendar.DAY_OF_MONTH);
    for(int x = 6+dayOfWeek,day = 1; day <= daysInMonth; x++,day++) btn[x].setText(""+day);
    lbl.setText(sdf.format(cal.getTime()));
    setTitle("Calendar - "+lbl.getText());
    public void displayDatePicked(String day)
    if(day.equals("") == false)
    // java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("EEEE d MMMM, yyyy");
    java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("dd/MM/yyyy");
    java.util.Calendar cal = java.util.Calendar.getInstance();
    cal.set(year,month,Integer.parseInt(day));
    System.out.println(tf1.getText());
    getContentPane().add(tf1,BorderLayout.NORTH);
    // JOptionPane.showMessageDialog(this,"You picked "+sdf.format(cal.getTime()));
    tf1.setText(sdf.format(cal.getTime()));
    System.out.println("from date"+tf1.getText());
    this.setVisible(false);
    public String getFromDate()
    return tf1.getText();
    public static void main(String[] args)
         new CalendarForm().setVisible(true);
    the above  code is to diaplay the calendar form.plzzzzzzzzzzzzzzzz help me. thanks in advance                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    hi michael,i disabled all the previous buttons in a calendar form.this is my code
    import java.awt.*;
    import java.awt.event.*;
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.util.Date;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.swing.*;
    class CalendarForm extends JFrame {
        JButton[] btn = new JButton[49];
        int month = java.util.Calendar.getInstance().get(java.util.Calendar.MONTH);
        int date = java.util.Calendar.getInstance().get(java.util.Calendar.DATE);
        int year = java.util.Calendar.getInstance().get(java.util.Calendar.YEAR);
        JLabel lbl = new JLabel("", JLabel.CENTER);
        JTextField tf1 = new JTextField();
        public CalendarForm() {
            buildGUI();
            setDates();
        private String getMonthAndYearAsString() {
            java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("MMMM yyyy");
            return sdf.format(new Date(System.currentTimeMillis()));
        private Date getCurrentDate() {
            java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("dd MM yyyy");
            return new Date();
        public void buildGUI() {
            setLocation(450, 350);
            setDefaultCloseOperation(HIDE_ON_CLOSE);
            String[] header = {"Sun", "Mon", "Tue", "Wed", "Thur", "Fri", "Sat"};
            JPanel midPanel = new JPanel(new GridLayout(7, 7));
            midPanel.setPreferredSize(new Dimension(350, 250));
            for (int x = 0; x < btn.length; x++) {
                final int selection = x;
                btn[x] = new JButton();
                btn[x].setFocusPainted(false);
                if (x > 6) {
                    btn[x].addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent ae) {
                            displayDatePicked(btn[selection].getActionCommand());
                if (x < 7) {
                    btn[x].setFont(new Font("Lucida", Font.PLAIN, 8));
                    btn[x].setText(header[x]);
                midPanel.add(btn[x]);
            JPanel lowPanel = new JPanel(new GridLayout(1, 3));
            JButton prevBtn = new JButton("<< Previous");
            prevBtn.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent ae) {
                    month--;
                    setDates();
                    java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("MMMM yyyy");
                    java.util.Calendar cal = java.util.Calendar.getInstance();
                    cal.set(year, month, 1);
                    int dayOfWeek = cal.get(java.util.Calendar.DAY_OF_WEEK);
                    int daysInMonth = cal.getActualMaximum(java.util.Calendar.DAY_OF_MONTH);
                    String currentMonth = getMonthAndYearAsString();
                    System.out.println("CURRENT MONTH AND YEAR " + currentMonth);
                    String selectedMonth = sdf.format(cal.getTime());
                    System.out.println("SELECTED MONTH AND YEAR " + selectedMonth);
                    Date currentDate = getCurrentDate();
                    Date selectedDate = new Date(cal.getTimeInMillis());
                    //Comparing currentDate nad selectedDate
                    int off = currentDate.compareTo(selectedDate);
                    int currentDay = date;
                    if (currentMonth.compareTo(selectedMonth) == 0) {
                        for (int x = 7 + dayOfWeek,  day = 1; day <= btn.length; x++, day++) {
                            btn[x].setEnabled(true);
                            if (day < currentDay) {
                                int k = x - 1;
                                for (int j = 7; j <= k; j++) {
                                    btn[j].setEnabled(false);
                    } else if (off == 1) {
                        for (int x = 6 + dayOfWeek,  day = 1; day < daysInMonth; x++, day++) {
                            for (int i = 6 + dayOfWeek; day < currentDay; i++) {
                                btn.setEnabled(false);
    } else if (off == -1) {
    for (int x = 7, day = 1; day < btn.length; x++, day++) {
    btn[x].setEnabled(true);
    lowPanel.add(prevBtn);
    lowPanel.add(lbl);
    JButton nextBtn = new JButton("Next >>");
    nextBtn.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    month++;
    setDates();
    java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("MMMM yyyy");
    java.util.Calendar cal = java.util.Calendar.getInstance();
    cal.set(year, month, 1);
    int dayOfWeek = cal.get(java.util.Calendar.DAY_OF_WEEK);
    int daysInMonth = cal.getActualMaximum(java.util.Calendar.DAY_OF_MONTH);
    String currentMonth = getMonthAndYearAsString();
    System.out.println("CURRENT MONTH AND YEAR " + currentMonth);
    String selectedMonth = sdf.format(cal.getTime());
    System.out.println("SELECTED MONTH AND YEAR " + selectedMonth);
    Date currentDate = getCurrentDate();
    Date selectedDate = new Date(cal.getTimeInMillis());
    //Comparing currentDate and selectedDate
    int off = currentDate.compareTo(selectedDate);
    int currentDay = date;
    if (currentMonth.compareTo(selectedMonth) == 0) {
    for (int x = 7 + dayOfWeek, day = 1; day <= btn.length; x++, day++) {
    btn[x].setEnabled(true);
    if (day < currentDay) {
    int k = x - 1;
    for (int j = 7; j <= k; j++) {
    btn[j].setEnabled(false);
    if (off == -1) {
    for (int x = 7, day = 1; day < btn.length; x++, day++) {
    btn[x].setEnabled(true);
    } else if (off == 1) {
    for (int x = 6 + dayOfWeek, day = 1; day < daysInMonth; x++, day++) {
    for (int i = 6 + dayOfWeek; day < currentDay; i++) {
    btn[i].setEnabled(false);
    lowPanel.add(nextBtn);
    getContentPane().add(midPanel, BorderLayout.CENTER);
    getContentPane().add(lowPanel, BorderLayout.SOUTH);
    pack();
    public void setDates() {
    for (int x = 7; x < btn.length; x++) {
    btn[x].setText("");
    java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("MMMM yyyy");
    java.util.Calendar cal = java.util.Calendar.getInstance();
    cal.set(year, month, 1);
    int dayOfWeek = cal.get(java.util.Calendar.DAY_OF_WEEK);
    int daysInMonth = cal.getActualMaximum(java.util.Calendar.DAY_OF_MONTH);
    lbl.setText(sdf.format(cal.getTime()));
    setTitle("Calendar - " + lbl.getText());
    int currentDay = date;
    for (int x = 6 + dayOfWeek, day = 1; day <= daysInMonth; x++, day++) {
    btn[x].setText("" + day);
    if (day < currentDay) {
    for (int j = 7; j <= x; j++) {
    btn[j].setEnabled(false);
    public void displayDatePicked(String day) {
    if (day.equals("") == false) {
    java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("dd/MM/yyyy");
    java.util.Calendar cal = java.util.Calendar.getInstance();
    cal.set(year, month, Integer.parseInt(day));
    System.out.println(month);
    System.out.println(tf1.getText());
    tf1.setText(sdf.format(cal.getTime()));
    System.out.println("from date" + tf1.getText());
    // VStudentAttendanceForm class ....
    if (VStudentAttendanceForm.jcalFlag == 1) {
    VStudentAttendanceForm.jtfFromDate.setText(tf1.getText());
    if (VStudentAttendanceForm.jcalFlag == 2) {
    VStudentAttendanceForm.jtfToDate.setText(tf1.getText());
    if (ManageStudents.cal == 1) {
    ManageStudents.jTextField22.setText(tf1.getText());
    ManageStudents.FromjTextField10.setText(tf1.getText());
    if (ManageStudents.cal == 2) {
    ManageStudents.jTextField23.setText(tf1.getText());
    ManageStudents.TojTextField11.setText(tf1.getText());
    if (vAuditTrail.cal == 1) {
    vAuditTrail.jTextField3.setText(tf1.getText());
    if (vAuditTrail.cal == 2) {
    vAuditTrail.jTextField4.setText(tf1.getText());
    if (Attendance.cal == 1) {
    Attendance.jTextField7.setText(tf1.getText());
    if (Attendance.cal == 2) {
    Attendance.jTextField8.setText(tf1.getText());
    this.setVisible(false);
    public String getFromDate() {
    return tf1.getText();
    public static void main(String[] args) {
    new CalendarForm().setVisible(true);

  • Calendar Tile on Windows 8.1 displaying incorrect date for icloud calendar but date icon displays correct date on iPhone 5 and iPad Air

    Calendar Tile on Windows 8.1 displaying incorrect date for icloud calendar but date icon displays correct date on iPhone 5 and iPad Air.  Date on Windows 8.1 is correct.  Thank you.

    Try doing  a reset on your phone. Sounds like your carrier's time set is not getting through to your device. If the reset doesn't do it, then go to Settings>General>Reset>Reset Network Settings. That should do it.

  • Can I recover lost data from my calendar?

    I have an iPhone 4S and had been using the calendar. When I recently purchased an iPad2 Wi-Fi, i lost years worth of data from my calendar when I attempted to sync the two using iCloud. The data is not on either the iPhone or iPad and I'm wondering if there is any way I can recover this?

    Check iTunes via sync to see if you have a previous backup of your iPhone that you know contained the calendar data.  You can restore your iPad from an iPhone backup.  Just do it in iTunes on your computer.

  • How to auto-populate dates in a calendar based on radio buttons?

    Hi,
    I'm trying to create an availability form that is submitted on a monthly basis. What I'd like is to have a radio button the user could click to indicate what day the first of the month falls on (Monday through Sunday), and have fields auto-populate with the remainder of the dates on the calendar. As it stands right now, I've got the radio buttons and the text fields, but I'm running into serious issues getting the text fields to auto-fill based on the selected radio button.
    I've labelled the radio button group "First Day of Month" and the individual values are "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday" "Sunday" and "Start". The "Start" button is hidden but is checked by default.
    My text fields are even simpler: "Monday 1" "Monday 2" "Monday 3" "Monday 4" and "Monday 5" (and then, obviously, repeated for each day of the week.
    I am horrible at scripting, so I think that might be where I'm running into issues. What I'd like to put is something like this (only, you know, functional, and for each days' text value):
    For "Monday 1"
    if "First Day of Month.value" = "Monday", "Monday 1.value" ="1"
    else "Monday 1.value" = ""
    For "Wednesday 3"
    if "First Day of Month.value" = "Sunday", "Wednesday 3.value" = "11"
    if "First Day of Month.value" = "Monday", "Wednesday 3.value" = "17"
    if "First Day of Month.value" = "Tuesday", "Wednesday 3.value" = "16"
    if "First Day of Month.value" = "Wednesday", "Wednesday 3.value" = "15"
    if "First Day of Month.value" = "Thursday", "Wednesday 3" = "14"
    if "First Day of Month.value" = "Friday", "Wednesday 3.value" = "13"
    if "First Day of Month.value" = "Saturday", "Wednesday 3.value" = "12"
    else "Wednesday 3.value" = ""
    For "Sunday 5"
    if "First Day of Month.value" = "Sunday", "Sunday 5.value" = "29"
    if "First Day of Month.value" = "Friday", "Sunday 5.value" = "31"
    if "First Day of Month.value" = "Saturday", "Sunday 5.value" = "30"
    else "Sunday 5.value" = ""
    Is this possible? I have no doubt there's a better way to do it (with proper coding and everything), so any help would definitely be appreciated!

    Hello,
    Which sharepoint edition you are using? I would prefer to customize your list form in infopath form then add new connection which will connect to your SQL. Later you can filter data based on cust ID. Here is the link to add connection in infopath:
    http://office.microsoft.com/en-in/infopath-help/add-a-data-connection-to-a-microsoft-sql-server-database-HP010092823.aspx
    If you want to do it via code then simple ADO.NET connector will help.
    http://www.codeproject.com/Articles/33862/Connecting-to-Database-Using-Custom-Webpart-in-Sha
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Date format for Calendar Prompt  in Oracle BI

    Hi,
    1)
    In Oracle Answers, I need to have this format : dd-MMM-yy in a Calendar Prompt
    I've changed in localedefinitions.xml :
    <property name="dateShortFormat">dd-MMM-yy</property>
    <property name="dateOrder">dmy</property>
    <property name="dateSeparator">-</property>
    <property name="dateFormats">
    <property>dd-MMM-yy</property>
    </property>
    then I've restarted all services, but still, the format is (only in Calendar prompt) : dd-mm-yyyy (ex : 16-01-2007).
    I'm using : Oracle Business Intelligence Product Version      10.1.3.3.3 (Build 080430.1930).
    2)
    related to this, I set the value of a presentation variable with the value of returned by this Calendar Prompt. I need to compute (in a report column) the difference (in days) between some column and that presentation value .
    I've tried :
    TIMESTAMPDIFF(SQL_TSI_DAY, Attributes."Modified Date", TIMESTAMP '@{v}')
    But I get errors related most probably to the way TIMESTAMPS seems to work : getting only 'yyyy-mm-dd hh24:mi:ss' like parameters ? any idea how to convert variable v to timestamp , using a custom mask ?
    Thank you !

    right now, Calendar prompt displays (by default) dates using the format : DD-MM-YYYY, although I tried to configure everything to DD-MMM-YY
    If using folowing formula in a column : TIMESTAMPDIFF(SQL_TSI_DAY, Attributes."Modified Date", CAST('@{v_reference_date}' AS DATE))
    i got errors (State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 1843, message: ORA-01843: not a valid month at OCI call OCIStmtExecute: )
    I got errors for TIMESTAMPDIFF(SQL_TSI_DAY, Attributes."Modified Date", @{v_reference_date})) as well.
    It works for TIMESTAMPDIFF(SQL_TSI_DAY, Attributes."Modified Date", CAST('@{v_reference_date}' AS DATE)) only if I directly type the date (in the Calendar prompt) using a DD-MMM-YY or a DD-MM-YYYY- format .
    so , I will need to force Calendar to use DD-MMM-YY format (don't know if it is possible), or, in the worst case, I should be able to CAST a string to date using a mask provided on the spot (something like to_date('01-13-2010', 'dd-mm-yyyy') )
    Edited by: alex.v on Jun 7, 2010 11:26 AM

  • How do you use the "Item Containing Start/End Date" in a Calendar?

    Hi
    I want to do a calendar where the days shown will be conditional to a certain interval. Now I though I could achieve that using the Item Containing Start Date of a calendar. But it doesn't seem to work. In the help it says :
    Enter an item in the application which holds the start date of the calendar. The format of the date in this item must be YYYYMMDD.
    This is what I did here
    http://apex.oracle.com/pls/otn/f?p=34530:1::::::
    I have 3 fields. 2 for the Start Date and End Date and 1 for the "Date Item" parameter. Only the latter has an effect on the calendar display, the calendar only displays the month of the "Date Item" (in monthly mode).
    Wether or not I check "Begin at Start of Interval", it doesn't affect the way those fields are affecting the Calendar.
    So, how do we use that "Item Containing Start/End Date" parameter?

    Hello,
    does yout Script work when you begin with ?:
    Start-Process powershell -Verb runAs
    Best regards,
    Stefan
    German Orchestrator Portal ,
    My blog in English

  • Putting a date in two calendars?

    here's one more question
    i have about 8 different calendars set up in ical. one for business appointments that apply to both myself and my associate, one for family appointments etc.
    I have it set up so that they sync via my .mac account.
    what i often miss is the ability to be able to set one date to two calendars -
    say if i'm out of town on business, that it can appear on my work calendar and my family calendar, without me having to have two entries.
    any ideas?
    cheers, warner

    Select "Provide iCal feedback" from the iCal menu and send Apple a message, is about the best advice I can give you.
    Cheers,
    Nicolas

  • Function module SD_SCHEDULING: delivery date calculation factory calendar

    Hi,
    When I create or change a sales order, system calculates the delivery time and date (ETDAT) using transit duration and factory calendar. Currently factory calendar says that transportation leaves every Monday, Wednesday and Friday. Unfortunately, function module SD_SCHEDULING calculates the delivery date using factory calendar dates, i.e. <b>NOT</b> using working dates.
    Function module reads the factory calendar from table TVRO (Routes) and field SPFBK (Factory calendar key) in subroutine GET_CUSTOMIZING, and saves factory calendar id in CS_SCHEDDU-TRANSIT_FC. The calculation itself is done later in function module DATE_CONVERT_TO_FACTORYDATE.
    For example, if transit duration is 3 working days, function module calculates the delivery date using Monday (first day), Wednesday (second day) and Friday (third day). Thus, the result is Friday, which is wrong. Result should be of course Wednesday (Monday first day, Tuesday second day and Wednesday third day).
    I'd like to use working days instead of calendar days. I am planning to recalculate the delivery date in some user exit, but before I start coding, I'd like to hear your opinion: <i>Is it possible to use working days instead of calendar days when calculating delivery date?</i> (I believe it must be, since my case is very normal). If it is, I assume that this can be achieved with IMG, but how and where?
    I am using SAP R/3 Enterprise.
    Regards,
    Jarmo Tuominen

    Hi jarmo,
    1. DATE_CHECK_WORKINGDAY
       Probably this FM may be useful to u.
    2.
    CALL FUNCTION 'DATE_CHECK_WORKINGDAY'
            EXPORTING
              date                       = d
              factory_calendar_id        = '01'
              message_type               = 'I'
            EXCEPTIONS
              date_after_range           = 1
              date_before_range          = 2
              date_invalid               = 3
              date_no_workingday         = 4
              factory_calendar_not_found = 5
              message_type_invalid       = 6
              OTHERS                     = 7.
    regards,
    amit m.

  • Required Delivery Date vs. Schedule Line Date vs. Calendar

    Hello Experts,
    The Factory Calendar shows that Monday to Friday are the only working days. Now, the user created a sales order and manually entered a date that falls on a saturday. As a result, the schedule line dates were all set on saturday. Availability check is in place and stocks are available.
    My question is: Why did the system proposed saturday as the schedule line date when the calendar shows saturday is not a working day? Am i correct to conclude that the manual entry in the required delivery date in sales order is the priority in determining schedule line date? Your inputs on this scenario would be highly appreciated.
    Best Regards,
    Gene

    Even though Sat is a holiday, the system will propose a CSL and confirm the stocks but the delivery would be created only the next working day. This is controlled by the factory calendar.
    Now, the system confirms based on the stock availability on that day, this does not mean  the delivery would be created the same day. For delivery creation the factory calendar comes into play and the lead times are calculated based on the calendar.
    Regards.

  • Convert Date Object to Calendar object

    Hi,
    I have a Date field in my webdynpro application, I need to to read this from my current context and convert the same to a Calendar field and pass it to my model.
    Calendar date = CalendarConverter.parseDate(req_date.toString());
    The above code gives me a null pointer exception.
    Can anyone suggest me the right way of converting a Date object to Calendar object?
    Ashwini.

    Ashwini,
    try to use the following code snippet:
    // get calendar and set your date object
    Calendar c = Calendar.getInstance();
    c.setTime( <YOUR_DATE_OBJECT> );
    // to manipulate the fields use this
    c.set(Calendar.MONTH, 1);
    // to manipulate retrieve a fields use this
    c.get(Calendar.MONTH);
    Hope that helps you.
    Sebastian Voss

  • Factory start date in factory calendar

    Hi,
    what to fill in "Factory Date Start" field while creating new factory calendar?
    Thanks!

    HI,
    This depends on the go live date and past data upload. The past date up to which you want to create records and want to upload history in PS and other modules uo to that that date your factory calendar should exists.
    Regards,
    Kapil Kaushal

  • Stopping the user Navigation to futuristic Date in AF: Calendar

    Hi,
    ADF 11g R1.6
    AF:Calendar
    I have a scenario to implement a calendar that does not allow user to navigate to a futuristic date to check for activities.
    I currently have the following the code in the Calendar Display Change Listener but it is not working as expected.
    Is there a way we can set the last possible date in a calendar ?
    if(calendarDisplayChangeEvent.getNewActiveDay()!=null){
    int month = (new GregorianCalendar()).get(GregorianCalendar.MONTH);
    Date newDate = calendarDisplayChangeEvent.getNewActiveDay();
    GregorianCalendar newCalendar = new GregorianCalendar();
    newCalendar.setTime(newDate);
    int newMonth = newCalendar.get(GregorianCalendar.MONTH);
    if(newMonth>month){
    getCalendarComponent().setActiveDay(new Date (System.currentTimeMillis()));
    }

    Hi,
    there is no direct access to this. However, you should be able to get the input value to then set a new default value on the ADF BC model for the dependent attribute. After this you PPR the query component to show the new value.
    Sample 160 at http://blogs.oracle.com/smuenchadf/examples/ may be helpful
    Frank

  • How I can change Hollydays date in my calendar . In UAE -Fri-Sat it's Hollydays

    How I can change Hollydays date in my calendar . In UAE -Fri-Sat it's Hollydays

    Numbers & most apps, especially those from Apple, use the date format you have set in System Preferences > Language & Text > Region. You can then choose UK from the Region drop-down list. Mine says Custom because I've defined things further as in the second screenshot.

Maybe you are looking for