Print week start date?

iCal 3 offers a helpful option in the week view, Print-Time Range-Starts On Date. But when I enter a start date that isn't the first day of the week set in preferences, nothing changes - the preferences week still prints. How do I get this option to work right?

Same thing here. I'd like to print out week views that don't begin on Sunday or Monday - for example, seven days centred around a weekend, to cover arrangements for a long weekend holiday or conference, etc.
The controls to do this are there in the print panel, but they don't work.
Is there a workaround, or is this something for Apple to fix?
Cheers

Similar Messages

  • Week Start Date from Week Number

    How would I display the Week Start Date and Week Number for a range of dates.
    required output:
    weekno weekstartdate qty
    11 8/03/04 50
    12 15/3/04 100
    13 22/3/04 75 etc

    Do you have a start and end date and need it expanded to weeks ?
    Let's say you have a table that include both the start and end dates
    select to_char(ddate,'WW'), ddate
          from (select start_dt + rownum - 1 ddate
                  from user_objects,
                       (select min( START_DATE ) as start_dt,
                               max( END_DATE ) as end_dt
                          from MY_TABLE
                          WHERE .... )
                  where start_dt + rownum <= end_dt ) a
      where to_char(ddate,'D') = '1'
    /Of course, one of the problems with WEEK is interpretation. Week one does not start until the First Sunday of the year. Which may or may not be what you want

  • How to get the week start date from ISO week number

    Hi,
    I have a table with the following stucture
    Year    error    Week1     week2   week3 ......week53
    2012       error1     2           4         2             1
    2012       error2    3          0        1                 1I was hoping to get something like select year, error, week1||'Week start date which is a monday of that week' , week2||'Week start date,again monday',....week53 from table
    Any suggestions please?
    Thanks,
    Sun

    Hi, Sun,
    To see when week N started, add 7 * (N - 1) days to the beginning of the year. (By definition, the beginning of the ISO year is the start of week 1 of the ISO year.)
    To see when week 22 of the current year started:
    SELECT  TRUNC (SYSDATE, 'IYYY') + (7 * (22 - 1))
    FROM    dual
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • Select Expert Record. Last 6 months and week start date on Monday

    Hello,
    i am trying to use the select expert record to grab the last 6 months worth of data. I require the week start day to be a monday and end on a sunday.
    Can someone please provide some advice the best way to do this
    kind regards
    david

    Hello Abhilash,
    Once again thanks for your reply.
    Yes this is correct, when it goes back 6 months i need it to skip the days prior and begin on a monday as we are reporting on a mon-sunday basis.
    I have tried your formula Date field >= dateadd('m',-6,currentdate) and it seems to grab 6 months of data, but the group weeks are not grouping from Monday to Sunday...
    kind regards
    david
    Edited by: davitali on Dec 2, 2011 9:35 AM

  • How can i get 2nd week starting date and ending date in a month?

    please help me to query this.
    thanks in advance

    Hi,
    I assume the second week start the next monday after the 1st of the current month. End of week is the next sunday.
    If a week start monday, the second week of december start the 5th and ending the 11th :
      1  select 8-to_char(to_date('01'||to_char(sysdate,'MMYYYY'),'DDMMYYYY'),'D')+1 first_day2w,
      2         15-to_char(to_date('01'||to_char(sysdate,'MMYYYY'),'DDMMYYYY'),'D') last_day2w
      3* from dual
    SQL> /
    FIRST_DAY2W LAST_DAY2W
              5         11If we take august, the second week start the 8th to end the 14th
      1  select 8-to_char(to_date('01082005','DDMMYYYY'),'D')+1 first_day2w,
      2         15-to_char(to_date('01082005','DDMMYYYY'),'D') last_day2w
      3* from dual
    SQL> /
    FIRST_DAY2W LAST_DAY2W
              8         14HTH,
    Nicolas.
    Note that my nls_territory = FRANCE.
    if you're in America, first day of week is sunday, and last is saturday :
      1* alter session set NLS_TERRITORY='AMERICA'
    SQL> /
    Session altered.
    SQL> ed
    Wrote file afiedt.buf
      1  select 8-to_char(to_date('01'||to_char(sysdate,'MMYYYY'),'DDMMYYYY'),'D')+1 first_day2w,
      2         15-to_char(to_date('01'||to_char(sysdate,'MMYYYY'),'DDMMYYYY'),'D') last_day2w
      3* from dual
    SQL> /
    FIRST_DAY2W LAST_DAY2W
              4         10
    SQL> Message was edited by:
    N. Gasparotto

  • FM to find week start and end date on the basis of a given date

    Hi Everyone,
    I have a requirement in which I require the week start and end date  of any given date.
    For eg: The given date is Wednesday 24.03.2010, I need a function module to calculate the week start date ie. Monday 22.03.2010 and week end date ie. Sunday 28.03.2010 on the basis of that date.
    Any input to this query would be helpful.
    Thanks,
    Nimisha Agarwal
    Edited by: Nimisha Agarwal on Jul 7, 2010 7:47 AM

    HI nimisha,
    many posts r there for this .
    Kindly check  before posting
    anyways this FM will serve u  r purpose.
    GET_WEEK_INFO_BASED_ON_DATE

  • Need a Help in finding the start Date and End Date of a week

    Dear All,
    I need a help,
    I have a date for eg,05-08-2009 (Wednesday). i need to get the week's start date and week's end date.
    Week start date in my region is SATURDAY and week end date is FRIDAY .
    So for my given input it should return start date as 01-08-2009 (Saturday )and end date as 07-08-2009 (Friday ).
    Thanks,

    Got it, Solved by making a small changes to the above code .
                    SimpleDateFormat sf = new SimpleDateFormat("dd-MMM-yy");
              Calendar cal = Calendar.getInstance(Locale.ENGLISH);
              cal.set(Calendar.DATE, cal.get(GregorianCalendar.DATE));
              cal.set(Calendar.MONTH, cal.get(GregorianCalendar.MONTH));
              cal.set(Calendar.YEAR, cal.get(GregorianCalendar.YEAR));
              if(cal.get(Calendar.DAY_OF_WEEK) != Calendar.SATURDAY) {
                cal.add(Calendar.DATE, -cal.get(Calendar.DAY_OF_WEEK));
              String NewEndDate = sf.format(cal.getTime());
              cal.add(Calendar.DATE, -7);
              String newStartDate = sf.format(cal.getTime());
              System.out.println("New Start date :" +newStartDate);
              System.out.println("New End Date   :" +NewEndDate);Sorry, Dont want to hire any one . Just want to keep my job safe . Any way thanks for your reply .

  • Week ending date after 365 days in sql

    Hi Experts,
    I need to find the week ending date after 365 days of the given week start date .
    Example : Week start date : 23-Jan -2011 (Sunday)
    Desired week end date : 28-Jan-2012 (Saturday)
    How to achive this through sql ?
    Thanks .

    Hi,
    Check below this may help you, adjust "(t.day_num+1)" as per your requirment.
    with t as
    (select decode(to_char(trunc(sysdate + 365), 'dy'),'mon',1,
                                                      'tue',2,
                                                      'wed',3,
                                                      'thu',4,
                                                      'fri',5,
                                                      'sat',6,
                                                      'sun',7) day_num
                                                      from dual
    select to_char(trunc(sysdate + 365)+ (7-(t.day_num+1)),'dd dy-mm-yyyy')   
                                                      from t ;

  • Last 5 week's datas

    Hi
    I have a period table with the below columns
    date
    week_num
    Week_desc(like week starting date to Ending date)
    Also I have a transaction table with all the datas and the date column.
    I must display the last 5 week's datas to the user along with the week_desc.
    At present Im jus hard coding the condition week_num between 13 and 17.
    can any one pls help how to achieve this without hard coding?

    Hi,
    Maybe you could try this Oracle By Example;
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/bi_admin/biadmin.html#t7
    Another great source although it's not a step by step explanation. Check Venat's blog;
    http://oraclebizint.wordpress.com/2007/11/14/oracle-bi-ee-101332-accessing-presentation-repository-and-session-variables-from-presentation-layer/
    Good Luck,
    Daan Bakboord

  • Populate week number: week starts from saturday

    Hi All,
    We populated the calendar table where we have populated the week number (1-53) by taking sunday as the week start date.
    But we need to populate the weeknumber(1-53), with week start day as saturday.Please
    Here is the alredy populated data.
    Day WeekNumber Mon date
    Sunday     1     January     1/1/2012
    Monday 1 January 1/2/2012
    saturday 1 January 1/7/2012
    Sunday 2 January 1/8/2012
    we have to populate the weeknumber with saturay as the weekstart date
    Thanks All.

    Hmmm , after re-reading the OP's question I realise I have provided a comprehensive and well-researched answer to a different question. Must be getting over-excited, it being so close to Christmas. Anyway, I'm going to leave this answer up for the time being, until I can find a better home for it.
    The day number is a function of your NLS_TERRITORY setting, a parameter derived from NLS_LANG . For instance when the locale is 'AMERICAN' the first day of the week is SUNDAY but when the locale 'ENGLISH' it's MONDAY. It is possible to mix'n'match language and territory. [url http://docs.oracle.com/cd/B28359_01/server.111/b28298/ch3globenv.htm#i1007222]Find out more.
    So, if you set the NLS_TERRITORY to somewhere in the Islamic world, say Kuwait, you will find that Saturday is day 1 of the week. You can do this at the session level:
    sql> alter session set nls_territory = 'KUWAIT';
    Session altered.
    SQL> select to_char(sysdate+1, 'DAY') as day_name
       2            , to_char(sysdate+1, 'D') as day_no
       3    from dual;
    DAY_NAME  D
    SATURDAY  1Cheers, APC
    Edited by: APC on Dec 21, 2012 11:07 AM

  • How to get week starting with sunday date

    Hi
    I have a date column "start_date", i need to create a report for all the weeks starting from sunday , for eg:
    i need to get week dates as :
    mm/dd/yy - 01/23/11 , 01/16/11 , 01/09/11 and so on...
    Please help
    Thanks...

    Hi,
    To find the last Sunday before or equal to start_date:
    SELECT     TRUNC ( start_date + 1
               , 'IW'
               ) - 1          AS week_start_date
    ...You can use an expression like this in a GROUP BY clause, also.
    This does not depend on you NLS settings. ISO weeks always start on Monday. Your week starts 1 day earlier, so that's why the expression above has the +1 and -1.
    (Depending on you NLS settings,
    SELECT     TRUNC ( start_date
               , 'D'
               )          AS week_start_date
    ...might do the same thing, but I still rocommend using 'IW'; a few extra keystrokes isn;t much to pay for a guarantee that it will always work.)
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data.

  • How to calculate start date and last date for current week

    Dear All.
    i want to calculate the start of the current week as well as the last date of the current week, our week start from Saturday and ends of Friday i.e. Saturday is the first day of the week and Friday is the last day of the week.
    How can i acheive this in universe Designer?.
    Please help...

    Hi
    the formulas in webi will be as follows
    for startdate
    =RelativeDate(LastDayOfWeek(CurrentDate());-8)
    for enddate:
    =RelativeDate(LastDayOfWeek(CurrentDate());-2)
    Regards,
    Ranganath

  • Get weeks based on start date

    Hi ,
    i need a query that will determine the weeks based on start date.
    if the table consists of:
    vDate vAmount
    06/25/2007 100
    06/27/2007 200
    07/04/2007 400
    If one enters start date as 6/25/2007 , amounts should be broken out in 7 day increments.
    Result should be
    week1 300
    week2 400
    where week1 should be from 6/25/2007 to 07/01/2007,
    week2 should be from 07/02/2007 to 07/08/2007
    and start date is not always on a Monday or Sunday...
    any idea?
    thanks in advance

    try this...
    SQL> with rt as
      2  (select 'week'||(trunc(l/7,0)+1) wk_no,to_char(trunc(sysdate)+l,'dd-Mon-yyyy') dt,to_char(trunc(sysdate)+l,'Day') "Day" from
      3  (select level-1 l from dual connect by level <= 367) where trunc(sysdate) between trunc(sysdate) and add_months(trunc(sysdate),12)),
      4  xx as
      5  (select '06/25/2007' vdate, 100 vamount from dual union all
      6  select '06/27/2007', 200 from dual union all
      7  select '07/04/2007', 400  from dual)
      8  select wk_no,sum(vamount) from
      9  (select (select wk_no from rt where dt = to_date(vdate,'MM/DD/YYYY')) wk_no,vamount from xx)
    10  group by wk_no;
    WK_NO                                        SUM(VAMOUNT)
    week1                                                 300
    week2                                                 400
    SQL>
    SQL> select 'week'||(trunc(l/7,0)+1) wk_no,to_char(trunc(sysdate)+l,'dd-Mon-yyyy') dt,to_char(trunc(sysdate)+l,'Day') "Day" from
      2  (select level-1 l from dual connect by level <= 367) where trunc(sysdate) between trunc(sysdate) and add_months(trunc(sysdate),12);
    WK_NO                                        DT          Day
    week1                                        25-Jun-2007 Monday
    week1                                        26-Jun-2007 Tuesday
    week1                                        27-Jun-2007 Wednesday
    week1                                        28-Jun-2007 Thursday
    week1                                        29-Jun-2007 Friday
    week1                                        30-Jun-2007 Saturday
    week1                                        01-Jul-2007 Sunday
    week2                                        02-Jul-2007 Monday
    week2                                        03-Jul-2007 Tuesday
    week2                                        04-Jul-2007 Wednesday
    week2                                        05-Jul-2007 Thursday
    .

  • Sched.start date not allowing on week-ends for fwd scheduling process order

    Hello Experts,
    For a process order & scheduling typr forward/in time if I take sat or sunday as a start date then if I click on schedule, system changes it to previous workin day (friday). But however if i select backward/in time scheduling type & put week ends as finish day then system does not change this date.
    How can I make system to allow schedule start date on week ends also for forward/in time scheduling type. in a factory calendor sat & sunday are holidays. while for work center, calender sat & sunday are marked as working days.
    Thanks for advance,
    Vijay.

    Hi
    it depends upon client requirement.you must have defined the holiday calender as well.if you select the public holidays in your factory calender.then system will allow you to do your daily transctions on public holidays as well and vice versa.so better go with all options selected .and plz check at your end
    plz revert back if it works
    Regards
    Anupam Sharma

  • How can I get the start date and end date of a certain week?

    Hello, in my java code, I can get the week ID , using
    org.joda.time.base.AbstractDateTime.getWeekOfWeekyear() , for example, this week is the 16th week of this year. And I want to get the start date(date of Monday) and end date(date of Sunday) of the week. Is there any method can supply such date value??thanks

    1 public Date getCurrentMonday(){
    2 Date monday = null;
    3 Calendar rightNow = Calendar.getInstance();
    4 int day = rightNow.get(Calendar.DAY_OF_WEEK);
    5 int distance = 0;
    6
    7
    8 if (day == Calendar.MONDAY)
    9 monday = rightNow.getTime();
    10 else
    11 {
    12 distance = day - Calendar.MONDAY;
    13 if (distance == -1)
    14 distance = 6;
    15
    16 monday = (Date) (rightNow.getTime());
    17 monday.setTime(monday.getTime() - 1000 *60 *60 *24 *(distance));
    18 }
    19 return monday;
    20 }

Maybe you are looking for