Why am I missing days in my weekly calendar?

On my weekly calendar I'm missing random days.

I have calendars set up for daily events that are everyday.  Randomly some are missing, so I went to re-do them and then they duplicate forever.  I then removed them and noticed that when I'm looking at the calendar on my iphone under list those days are missing completely.  The same is true looking on my macbook pro under weekly view.

Similar Messages

  • Position of the days and dates being on the right side of the day in the week calendar.

    I'm having a huge problem with the days and dates being on the right side of the day in the week calendar. Can I change that to the left upper side?
    it makes the whole schedule off balance you see.

    Thanks for stating that. So quickly. That *****. I also now see that more people have problems with this. Where can I complain?

  • Moving a GregorianCalendar to the first day of the week

    I'm using a GregorianCalendar class in order to get the time stamp for the nearest Sunday's date.
    here's what I'm trying to do:
    1. get a timeStamp and set it into a date
    Date startDate = new Date(startTime);2. create a new GregorianCalendar using the above date as the start time.
    GregorianCalendar calendar = new GregorianCalendar((startDate.getYear()+1900),startDate.getMonth(),startDate.getDate());3. the tricky part: make sure the calnedar's date is set to Sunday, if the current date is on any day other then Sunday, I will have to move it back to the nearest Sunday. I'm trying to do this by using:
    calendar.set(Calendar.DAY_OF_WEEK, 0);     for some reason this does not work...
    am I doing anything wrong here?

    thanks for that info but the problem is still there. here's some more input:
    //creating the date, the ts here is 1153858800000 which is the dated in 7/25/2006
    Date startDate = new Date(startTime);
    //creating the new calendar
    GregorianCalendar calendar = new GregorianCalendar((startDate.getYear()+1900),startDate.getMonth(),startDate.getDate());
    //setting the calendar to the first hour (not sure it necessary)
    calendar.set(Calendar.HOUR, 1);
    //setting the calendar to the first day of the week
    calendar.set(Calendar.DAY_OF_WEEK, 1);
    //this returns 1153778400000 which is still dated 7/25/2006 whic is a Tuesday I would expect it to returns a different date
    calendar.getTimeInMillis()     

  • Get date of first day of current week

    HI!
    Why does the following method do not return the date of the first day of the week in which the given date lies?
    public static int getFirstDayOfWeek(int year, int month, int date) { 
    GregorianCalendar GregCalendar = (GregorianCalendar)
    new GregorianCalendar(year, month, date).getInstance();
    while(GregCalendar.get(Calendar.DAY_OF_WEEK)!= Calendar.MONDAY) {
    GregCalendar.roll(Calendar.DATE, false);
    return GregCalendar.get(Calendar.DATE);     
    What I want the method to do:
    year = 2003
    month = Calendar.JANUARY
    date = 8
    ==> GregCalendar.get(Calendar.DAY_OF_WEEK) == Calendar.WEDNESDAY
    ==> GregCalendar.roll(Calendar.DATE, false);
    ==> GregCalendar.get(Calendar.DATE) == 7 (?????????)
    ==> GregCalendar.get(Calendar.DAY_OF_WEEK) == Calendar.TUESDAY
    ==> GregCalendar.roll(Calendar.DATE, false);
    ==> GregCalendar.get(Calendar.DATE) == 6
    ==> GregCalendar.get(Calendar.DAY_OF_WEEK) == Calendar.MONDAY
    ==> return GregCalendar.get(Calendar.DATE)
    But in reality, it always returns 6 grrrrrrrr
    What is wrong wirh it?
    Yours RB

    public Date getCurrentMonday()
            Date monday = null;
            Calendar rightNow = Calendar.getInstance();
            int day = rightNow.get(Calendar.DAY_OF_WEEK);
            int distance = 0;
            if (day == Calendar.MONDAY)
                monday = rightNow.getTime();
            else
                distance = day - Calendar.MONDAY;
                if (distance == -1)
                    distance = 6;
                monday = (Date) (rightNow.getTime());
                monday.setTime(monday.getTime() - 1000 * 60 * 60 * 24 * (distance));
            return monday;
        }

  • Oracle returning incorrect day of the week

    Hi there,
    I have a table named Performance, which includes a date field named PDATE, some other attributes such as title, etc, and a field named WEEKDAY, which includes the numerical value for the day of the week. Here is an example:
    PER#
    P#
    THEATRE#
    WEEKDAY
    PDATE
    PHOUR
    PMINUTE
    COMMENTS
    1
    1
    1
    1
    02-MAR-10
    19
    30
    Normal evening time
    2
    1
    1
    2
    03-MAR-10
    19
    30
    Normal evening time
    58
    6
    6
    3
    04-MAR-10
    19
    30
    Normal evening time
    5
    1
    1
    4
    05-MAR-10
    19
    30
    Normal evening time
    I went to verify the day of the week in a calendar (in fact I checked more than one) and I noticed that the Weekday value seems incorrect. For instance, the 2nd of March was a Tuesday so I would expect WEEKDAY to say 3 (considering Sunday to be the 1st day of the week, which is the universal norm), or perhaps 2 (considering Monday to be the 1st day of the week).
    First thing that came to mind is, since the WEEKDAY is a number field which has been pre-populated, the person who populated it made a mistake.
    So I went to verify this by running a query that would give me the correct day of the week by extracting it from the PDATE field:
    SELECT DISTINCT pdate, EXTRACT(year from pdate) year,
    to_char(to_date(pdate,'DD/MM/YYYY'),'DY') weekdaycalc, weekday
    FROM ops$yyang00.Performance
    ORDER BY pdate
    And to my astonishment, I got the following table as a return:
    PDATE
    YEAR
    WEEKDAYCALC
    WEEKDAY
    02-MAR-10
    2010
    SUN
    1
    03-MAR-10
    2010
    MON
    2
    04-MAR-10
    2010
    TUE
    3
    05-MAR-10
    2010
    WED
    4
    06-MAR-10
    2010
    THU
    5
    07-MAR-10
    2010
    FRI
    6
    08-MAR-10
    2010
    SAT
    7
    09-MAR-10
    2010
    SUN
    1
    10-MAR-10
    2010
    MON
    2
    As you can see, all of the above WEEKDAYCALC values are incorrect, and seem to match the incorrect values in WEEKDAY.
    I could perhaps understand some weird WEEKDAY numbering if there is some general database setting where I could specify any day of the week to be the first day. However, I can't think of any logical explanation on why Oracle would call a Tuesday Sunday.
    Could someone please advise what I mght be doing wrong? This is driving me insane!
    Thank you in advance for all the help and support.
    Regards,
    P.

    Hi,
    1bded5c7-e555-4306-ac86-45da83dff439 wrote:
    Thanks both Frank and Solomon for the help. I am quite new to Oracle and I feel you folks went the extra mile on the explanation
    Based on your explanations, I changed the formula so the date format would be processed as YY rather than YYY.
    SELECT DISTINCT pdate, EXTRACT(year from pdate) year,   
    to_char(to_date(pdate,'DD/MM/YY'),'DY') weekdaycalc, weekday   
    FROM Performance   
    ORDER BY pdate  
    And I got the correct values now:
    PDATE
    YEAR
    WEEKDAYCALC
    WEEKDAY
    02-MAR-10
    2010
    TUE
    1
    03-MAR-10
    2010
    WED
    2
    04-MAR-10
    2010
    THU
    3
    05-MAR-10
    2010
    FRI
    4
    06-MAR-10
    2010
    SAT
    5
    07-MAR-10
    2010
    SUN
    6
    08-MAR-10
    2010
    MON
    7
    The interesting bit here, is the original WEEKDAY field, which clearly has been created with the same mistake I did (this whole table wasn't created by me). I reckon I spotted a design bug.
    Regards,
    P.
    No; you're still calling TO_DATE on something that is already a DATE, and you're still using an implicit conversion (only now you're using a format such that the current NLS settings don't cause you to get punished.  If your DBA changes the NLS settings next week, then you will have similar errors again.)
    If you want to see what day of the week pdate is, then use:
    TO_CHAR (pdate, 'DY')
    or, to make it NLS-independent:
    TO_CHAR (pdate, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH')
    This is simpler than what you posted, it's more efficient and easier to debug and to maintain, and it also gets the results you want in all cases.
    One more time: TO_DATE, as the name hints, converts something (a VARCHAR2, to be precise) TO a DATE.  If pdate is already a DATE, then what do you need to convert?  You're implicitly converting a DATE to a VARCHAR2, then explicitly converting that VARCHAR2 back to a DATE, and then calling TO_CHAR.  That's 3 function calls (1 of them error prone) where only 1 is needed.
    Also if you ever have to reconcile 2-digit years with 4-digit years (and, again, in this problem you don't) the correct way is to convert the 2-digit year to a 4-digit year, not vice-versa.
    Calling Tuesday the 1st day of the week could make sense in a particular application.

  • I have several recuring alarms set up on my calendar for each day of the week. In the past few weeks, an alarm will occasionaly notify me roughly 15 minutes to an hour and a half late. These daily alarms are identical and repeat every day.

    I have several recuring alarms set up on iCal for each day of the week. In the past few weeks, an alarm will occasionaly notify me roughly 15 minutes to an hour and a half late. These daily alarms are identical and repeat every day and there seems to be no apparent pattern to why or when an alarm happens after the event is past.

    I assume you meant iCal rather than iTunes? Yes, iCal the time zone is correct. The delayed alarms only happen sporadically. Since I posted this message, the problem stopped happening every day at the same time, but it still happens occasionally with no rhyme or reason as to when. It's gotten so that I can't depend on my iCal alarms anymore.

  • Cannot turn on "Show the day of the week" option in Date & Time

    OS X Lion turns "Show the day of the week" option off each time I open that preference pane and after every reboot. My region in Formats tab of Language & Text preference pane is set to "Russia (Russian)". I've noticed that the problem doesn't appear when region is set to US (I didn't try others). Is there any known workaround, except changing my region preference?

    Me too.
    And I have a workaround, until Фззду fixes it finally:
    1) Go to the ~/Library/Preferences, locate a file named com.apple.menuextra.clock.plist, open it with Plist editor (comes with XCode) or just with TextEdit.
    2) There's DateFormat key in it, change it to "EEE H:mm", save the file.
    3) Now Cmd-I (right click - Get info) on that file in Finder, and check option named "Locked" ("Защита").
    System Preferences' Date & Time pane sets the aforementioned DateFormat to "ccc H:mm" when you tick the "Show the day of the week" option, while in Russian locale. And in English it becomes "EEE H:mm". The problem is that Sys.pref and even SystemUIServer (that shows the menu) processes somehow do not like the former value and erase it. After every relaunch of SystemUIServer (after reboot or being killed) tries to change "EEE" to "ccc" again (which would be cleared to nothing next time), that is why you have to lock the plist file.

  • Want to make Monday as the first day of the week in GregorianCalendar. how?

    hi
    I need to know what day is the first of the month is. for example the 1st of Nov 2004 is Moday and 1st of Dec 2004 is saturday.
    I am using the GregorianCalendar:
    1.  GregorianCalendar calendar = new GregorianCalendar(2004,11,1);    //set date to 1st Nov 2004
    2.  int firstDay = calendar.get(Calendar.DAY_OF_WEEK);now firstDay is 2. This is because the week starts from Sunday, so Monday is the 2nd day.
    But I am in Uk and my Uk Calendar shows monday as the first day (even in Windows 2000 Calendar).
    I would like the GregorianCalendar to have Monday as the first day of the week, so that the
    int firstDay = calendar.get(Calendar.DAY_OF_WEEK);
    returns 1 in the above case.
    I also tried adding
    calendar.setFirstDayOfWeek(Calendar.MONDAY); just between line 1 and line 2, but it did not help.
    This is because i don't want to manually subtract 1. If i manually subtract one, then the program might not work in other locale and timezones.
    Also if I subtract 1, then for 1 Feb 2004,
    int firstDay = calendar.get(Calendar.DAY_OF_WEEK);
    will return 1 as 1st Feb 2004 falls on Sunday. so if i subtract 1 it will be 0, so I have to do a extra checking for 0.
    Is there anyway to make the Calendar have Monday as the first day of the week??
    Tanveer

    hi
    I need to know what day is the first of the month is.Why does this matter? Since we know that 1 == Sunday and 2 == Monday... Why do you need Monday to be == 1? and couldn't you just subtract 1 if it's so important?
    for example the 1st of Nov 2004 is Moday and 1st of
    Dec 2004 is saturday.
    I am using the GregorianCalendar:
    1.  GregorianCalendar calendar = new
    GregorianCalendar(2004,11,1);    //set date to 1st Nov
    2004
    2.  int firstDay = calendar.get(Calendar.DAY_OF_WEEK);now firstDay is 2. This is because the week starts
    from Sunday, so Monday is the 2nd day.
    But I am in Uk and my Uk Calendar shows monday as the
    first day (even in Windows 2000 Calendar).
    I would like the GregorianCalendar to have Monday as
    the first day of the week, so that the
    int firstDay = calendar.get(Calendar.DAY_OF_WEEK);
    returns 1 in the above case.
    I also tried adding
    calendar.setFirstDayOfWeek(Calendar.MONDAY);[/cod
    ] just between line 1 and line 2, but it did not help.
    This is because i don't want to manually subtract 1.
    If i manually subtract one, then the program might not
    work in other locale and timezones.
    Also if I subtract 1, then for 1 Feb 2004,
    int firstDay = calendar.get(Calendar.DAY_OF_WEEK);
    will return 1 as 1st Feb 2004 falls on Sunday. so if i
    subtract 1 it will be 0, so I have to do a extra
    checking for 0.
    Is there anyway to make the Calendar have Monday as
    the first day of the week??
    Tanveer

  • First day of the week in calendar

    In the UK (as in many countries) the week starts on Sunday and calendars normally reflect this. With iPhone the week starts on Monday (in UK) but in Ireland it starts on Sunday. I really can't use a calendar showing Monday as the first day of the week (it's too confusing when compared to printed calendars and iCal on the computer). If I set iPhone calendar to Ireland that's fine for a while but soon it reverts to UK and Monday. Is it possible to make this calendar show the correct day all the time?

    Yes, it's possible, by changing Settings > General > International > Region Format to something other than the UK. Setting it to the United States will give you a week starting on Sunday. But, that setting also controls the way dates and phone numbers are displayed, so those are affected as well. But, maybe that's already how you already "set iPhone calendar to Ireland," in which case, I'm not sure why it's reverting back, unless it's resulting from when you sync the phone to your computer.

  • How can I calculate a day of a week?

    I want to calculate a day of a week.But I always getting ArraysOutOfBoundException.Here's my code:
    import java.util.*;
    import javax.swing.*;
    class daydate{
         public static void main(String args[])throws Exception
         String arr[]={
              "satarday","sunday","monday","tuesday","wednesday","thursday","friday"
    String output="",op="",m,m1,m2;
         Calendar calendar=Calendar.getInstance();
         int i=calendar.get(Calendar.DAY_OF_WEEK);
    /*if(i>6)
         i=i-7;*/
    // System.out.println(i);
         output+="\ntoday is :"+arr[i]+"\n";
         JOptionPane.showMessageDialog(null,output,"day",JOptionPane.INFORMATION_MESSAGE);
         m=JOptionPane.showInputDialog("Enter year.");
         int n=Integer.parseInt(m);
    m1=JOptionPane.showInputDialog("Enter month.");
         int n1=Integer.parseInt(m1);
         m2=JOptionPane.showInputDialog("Enter date.");
         int n2=Integer.parseInt(m2);
    calendar.set(n,n1,n2);
    int j=calendar.get(Calendar.DAY_OF_WEEK);
    /*if(j>6)
    j=j-7;*/
    //System.out.println(j);
    op+="\nthat day is/was :"+arr[j]+"\n";
         JOptionPane.showMessageDialog(null,op,"day",JOptionPane.INFORMATION_MESSAGE);
    System.exit(0);
    the error is:
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 7
         at CalculateDay.main(CalculateDay.java:28)
    I wonder using calendar.get(Calendar.DAY_OF_WEEK) makes the value of i=7;But my array's highest value is 6.That's why I always get the above error.
    How can I solve that?

    I think the DAY_OF_WEEK is working from 1 to 7, and
    Saturday, on my PC (UK GregorianCalendar) is 7. Your
    array is based 0, and only work from (0-6).
    Either subtract 1 from the value DAY_OF_WEEK, or add
    a blank item at the beginning of the list.
    Better, I think is used the built-in capability using
    public String getDate(String format){
    Calendar c = new GregorianCalendar();
    Date d = cal.getTime();
    DateFormat df = new SimpleDateFormat(format);
    return df.format(d);
    You can then call the getDate() with various formats
    ie.
    getDate("EEE") alone to get "Wed, Thur" .. etc
    getDate("dd/MM/yyyy HH:mm:ss") to get the current
    Date and time in that format.
    Hope it helps.Thanks William for your valuable help.Anyway,you wrote,
    Date d=cal.getTime();
    Is it cal or c?

  • Why is audio missing from movie

    why is audio missing from movie

    I think I may have confused you a little bit, sorry.  Hope this might be easier to follow.
    1.  Copied nieces VHS tape to DVD discs.  Tape runs approximately 2hr. 39min.
    2.  Put first part on work copy 1.  This consisted of the lead up to the ceremony and the ceremony itself, ending with still shots of the wedding party, in the park.  About 1hr. 1min.
    3.  Put second part on work copy 2.  This consisted of the wedding reception, beginning to end.  About 1hr 38min.  No possibility of overlapping content.
    4.  Ran both work copy 1 and work copy 2 on the VCR that's hooked up to the TV.  (Not the Toshiba copy machine).  Both ran through, beginning to end with no glitches.
    5.  Opened Adobe Premiere Elements and loaded work copy #1 so as to make three finished copies, one for bride and groom, one for bride's parents, one for groom's parents.
    6.  When placed on the timeline, contents of work copy 1 had no audio for VTS_01_1.VOB while VTS_01_2.VOB and VTS_01_3.VOB were whole.
    7.  Tried for several days to eliminate the problem with no success.  A.P.E. showed file sizes of .99GB, .99GB and 47MB respectively.  The 47MB is actually about 2 minutes of still pictures of       the wedding party.  I was not going to attempt to burn the project until correcting the audio problem.
    8.  Wrote in to the community forum and happily received your response.  Tried every thing you offered without success.  Though I am thankful for all your time and effort.  While nothing worked       so far, I have learned a few things and will retain my notes so as to keep this information at hand.  (Don't know how you're able to maintain all that info).
    9.  At this point, in view of the results of step #4, I thought to try Windows DVD Maker to see what developed.  Loaded work copy 1 into that program, which recognized the audio in the first clip       (VTS_01_1.VOB).  I did not run the work copy, beginning to end, in this program.  But I felt that as long as the audio was present in the first clip, this program would allow me to burn the           copy.  When the burn button was pushed, I received the error message "Will Not Fit", and the duration of 30 min for clip 1, 30 min. for clip 2 and 25 hours and 30 min. for clip 3.  Clip 3 being       the 2 minutes of still pictures.  After trying unsuccessfully to remedy this problem it was time to try a different approach.
    10.  Opened A.P.E. and loaded work copy 2 onto the timeline.  Successfully made three finished copies of this disk in a short period of time.
    11.  Took the VHS tape back to the Toshiba to make another copy (work copy 1A) of the first segment.
    12.  Played copy 1A in the TVs VCR and it played fine, no glitches.
    13.  Opened A.P.E. and put work copy 1A on the Timeline.  This time there was audio in clip 1, which could be seen on the audio line, but it was the audio from work copy 2.  This, even though       I had deleted the files from work copy 2.
    14.  Accepted the fact that this has become a career.  Can't imagine what you're thinking.  Since beginning this endeavor I have become much older and grouchier.  My dog will no longer walk         with me.  Neighbors go back in the house when they see me coming.  Oh, and my wife sticks out her tongue and makes funny noises whenever I turn my back. 

  • Two or more productid will be accquired by same customerid, by same shipvia, on the same day of the week of shipped date. i want the simple query for this.

    consider this situation,
     Two or more productid will be accquired by same customerid, by same shipvia, on the same  day of the week of shipped date. i want the simple query for this.
    my tables are  from northwind:
    [orders] = OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, ShippedDate, ShipVia, Freight, ShipName, ShipAddress, ShipCity, ShipRegion, ShipPostalCode, ShipCountry.
    [orders details] = OrderID, ProductID, UnitPrice, Quantity, Discount.
    i tried some but it is not exact, it gives wrong result.
    select pd.CustomerID,pd.ProductID, pd.no_of_time_purchased, sd.ShipVia, sd.same_ship_count, shipped_day from
    select ProductID,o.CustomerID,COUNT(productid) as no_of_time_purchased
    from orders o join [Order Details] od on o.OrderID=od.OrderID group by ProductID,o.CustomerID
    having count(od.ProductID) >1) pd
    join
    (select OrderID,customerid, shipvia, count(shipvia)as same_ship_count, DATENAME(DW,ShippedDate)as shipped_day from orders
    group by customerid, ShipVia, ShippedDate having COUNT(ShipVia) > 1 ) sd
    on sd.CustomerID=pd.CustomerID

    Hi,
    I think I have a solution that will at least give you a clue how to go about it. I have simplified the tables you mentioned and created them as temporary tables on my side, with some fake data to test with. I have incldued the generation of these temporary
    tables for your review.
    In my example I have included:
    1. A customer which has purchased the same product on the same day, using the same ship 3 times,
    2. Another example the same as the first but the third purchase was on a different day
    3. Another example the same as the first but the third purchase was a different product
    4. Another example the same as the first but the third purchase was using a different "ShipVia".
    You should be able to see that by grouping on all of the columns that you wich to return, you should not need to perform any subselects.
    Please let me know if I have missed any requirements.
    Hope this helps:
    CREATE TABLE #ORDERS
     OrderID INT,
     CustomerID INT,
     OrderDate DATETIME,
     ShipVia VARCHAR(5)
    CREATE TABLE #ORDERS_DETAILS
     OrderID INT,
     ProductID INT,
    INSERT INTO #ORDERS
    VALUES
    (1, 1, GETDATE(), 'ABC'),
    (2, 1, GETDATE(), 'ABC'),
    (3, 1, GETDATE(), 'ABC'),
    (4, 2, GETDATE() - 4, 'DEF'),
    (5, 2, GETDATE() - 4, 'DEF'),
    (6, 2, GETDATE() - 5, 'DEF'),
    (7, 3, GETDATE() - 10, 'GHI'),
    (8, 3, GETDATE() - 10, 'GHI'),
    (9, 3, GETDATE() - 10, 'GHI'),
    (10, 4, GETDATE() - 10, 'JKL'),
    (11, 4, GETDATE() - 10, 'JKL'),
    (12, 4, GETDATE() - 10, 'MNO')
    INSERT INTO #ORDERS_DETAILS
    VALUES
    (1, 1),
    (2, 1),
    (3, 1),
    (4, 2),
    (5, 2),
    (6, 2),
    (7, 3),
    (8, 3),
    (9, 4),
    (10, 5),
    (11, 5),
    (12, 5)
    SELECT * FROM #ORDERS
    SELECT * FROM #ORDERS_DETAILS
    SELECT
     O.CustomerID,
     OD.ProductID,
     O.ShipVia,
     COUNT(O.ShipVia),
     DATENAME(DW, O.OrderDate) AS [Shipped Day]
    FROM #ORDERS O
    JOIN #ORDERS_DETAILS OD ON O.orderID = OD.OrderID
    GROUP BY OD.ProductID, O.CustomerID, O.ShipVia, DATENAME(DW, O.OrderDate) HAVING COUNT(OD.ProductID) > 1
    DROP TABLE #ORDERS
    DROP TABLE #ORDERS_DETAILS

  • Fixed Day in a week as Delivery date in Purchase Order.

    Dear All
    I have the below requirement
    For a material/ vendor combination users would like see  always a fixed day as delivery date in Purchase Order.
    For  example for a Material X and Vendor Y always Wednesday of the week should be delivery date.
    Whether this can be achieved ?
    Can you please let me know your thoughts on this
    Regards
    Shyam

    Dear Jurgen
    Thanks for referring to the post.
    But actually my requirement is bit more specific. For material-vendor combination the deleivery date should be a particular day in a week
    Ex : Material X and Vendor X1 = Monday
    Material Y and Vendor Y1=Tuesday
    This requirement I believe is quite difficult in achieving  for a PR from MRP. That's why I put the question as whether we can achieve this when we convert the MPR PRs to PO s ?
    Please let me know your thoughts on this
    Regards
    Shyam

  • Discovering the day of the week for given date

    hi guys, im trying to discover the day of the week for a given date when i do this it works fine:
    select to_char(sysdate,'FMDAY') from dual
    however, when i try to pass in my own value as a parameter i get the error: invalid number
    select to_char(:mydate,'FMDAY') from dual .
    the value im passing through to mydate is 21/02/2011 so i have no idea why it is not working. Any help would be greatly appreciated. thanks
    Edited by: 786733 on 21-Feb-2011 03:41

    786733 wrote:
    hi guys, im trying to discover the day of the week for a given date when i do this it works fine:
    select to_char(sysdate,'FMDAY') from dual
    however, when i try to pass in my own value as a parameter i get the error: invalid number
    select to_char(:mydate,'FMDAY') from dual .
    the value im passing through to mydate is 21/02/2011 so i have no idea why it is not working. Any help would be greatly appreciated. thanksyou're probably passing in a string instead of a date, so you need to convert it to a date with the appropriate format.
    select to_char(to_date(:mydate,'DD/MM/YYYY'),'FMDAY') from dual

  • Missing Events for two weeks

    Looking back in January, it seems that two weeks worth of events are missing from all of my calendars, as if they were all deleted. As I need these records for tax purposes, this is particularly troubling. Does anyone have any ideas how/why this could have happened, how to get the information back, and (most importantly) how to avoid it happening in the future?
    I have two macs syncing calendars with .mac/mobileme. Both are running 10.4.11, iCal is 2.0.5.

    Where are you publishing to and how are you uploading the files?
    Are you emptying the browser cache before visiting the published site?

Maybe you are looking for