Display days of the month as columns along with other information

Hi All
I have a requirement where in I have to display the employee wise leave details for a particular month data passed as parameter to be displayed will be some thing like below
per_all_people_f.employee_name, per_absence_attendances.date_start, per_absence_attendances.date_end, per_absence_attendance_types.name, '01-JAN-2012','02-JAN-2012','03-JAN-2012','04-JAN-2012',..........,'31-JAN-2012'
Test_employee, 02-JAN-2012, 04-JAN-2012, sick leave, N,Y,Y,Y,N,N,N,,,,,,,,,,NSo if the parameter passed is JAN-2012 and the employee has taken leave from 02-JAN-2012 to 04-JAN-2012 the values will be Y otherwise it will be N, Similarly if the passed month is FEB-2012 so the columns will be as below
per_all_people_f.employee_name, per_absence_attendances.date_start, per_absence_attendances.date_end, per_absence_attendance_types.name,'01-FEB-2012','02-FEB-2012',.......,'28-FEB-2012'The last date columns should be dynamic
Any suggestions will be highly appreciated.
Regards

Hi,
This looks like an example of a Pivot . See the forum FAQ {message:id=9360005} for several ways to do that, suitable for different versions.
I hope this answers your question.
If not, post your best attempt, along with 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. Sinmplify the problem. For example, even though you're interested in all days of the month, post a problem that only involves, say, days after the 26th of the month. We'll help you find a solution that works for all days.
In the case of a DML operation (such as INSERT) the sample data should show what the tables are like before the DML, and the results will be the contents of the changed table(s) after the DML.
Explain, using specific examples, how you get those results from that data.
Always say what version of Oracle you're using (e.g. 11.2.0.2.0). This is always important, but even more so with pivots.
See the forum FAQ {message:id=9360002}

Similar Messages

  • Is there a way to get the calculator from the dashboard to appear along with other programs?  Can anyone recommend a calculator which will work as a stand alone app?

    AS it stands now, in order to use the calculator that comes with the Dashboard, you cannot read from a list of numbers in, lets say, word or excel. The dashboard is full screen and nothing can stand along side it. Is there a way to get the calculator from the dashboard to appear along with other programs?  Can anyone recommend a calculator which will work as a stand alone app?

    there is one, just search with spotlight "Calculator".
    It works great!
    Hope this helps.

  • How to replace the string of column value with other column value in same table

      
    I have a temp table  which contains 
    Id  Name CTC   Address                      Content
    1    Ross  $200   6th block                  Dear #Name your  CTC  is #CTC and your address is  #address
    2   Jhon   $300   1oth cross                 Dear #Name your  CTC  is #CTC and your address is  #address
    Now i want to  select content    so that it should get  replace with  the respective  columns  and final output should come like this 
     Dear Ross your  CTC  is 200 and your address is    6th block  
      Dear Jhon your  CTC  is 300 and your address is   10th cross  
    Kindly suggest

    I think RSingh suggestion is ok ... what do you mean by another way? ...maybe something more generic?
    maybe build a table whith the list of col you need to "replace" and dinamically build the replace query ...
    declare @colList table(colName varchar(100))
    insert into @colList
    select 'name'
    union all select 'ctc'
    union all select 'address'
    declare @cmd varchar(2000)
    select @cmd='select '+ (select 'replace(' from @colList for xml path('') +' content '+
    (select ',''#'+ colName +''', '+ colName +')' from @colList for xml path(''))
    +' from YOURTABLENAME '
    exec (@cmd)
    or your request was different ?

  • How can we export the Primary key values (along with other data) from an Advantage database?

    One of our customers is moving from our application (which uses Advantage Database Server) to another application (which uses other database technology). They have asked us to help export their data, so that they can migrate it to another database system. So far, we have used the Advantage Data Architect (ARC32) "Export Table Structures as Code" functionality to generate SQL. We used the "Include existing data" option. The SQL contains the necessary code to recreate the tables and indexes. The customer's IT staff will alter the SQL statements as necessary for their new system.
    However, there is an issue with the Primary Keys in these table. The resulting INSERT statements use AutoInc as the type for the Primary Key in each Table. These INSERT statements contains "DEFAULT" for the value of each of these AutoInc fields. The customer would like to output an integer value for each of these Primary Key values in order to maintain referential integrity in their new system.
    So far, I have not found any feature of ARC32 that allows us to export the Primary Key values. We had been using an older version of ARC32, since our application does not use the latest version of ADS. I did download the latest version of ARC32 (11.10), but it does not appear to include any new functionality that would facilitate doing this sort of export.
    Can somebody tell me if there is such a feature in ARC32?
    Or, is there is another Advantage tool to facilitate what we are trying to accomplish?
    If there are no Advantage tools to provide such functionality, what else would you suggest?

    George,
      It sounds like the approach you are using is the correct one. This seems to be the cleanest solution to me especially since the customer is able to modify the generated SQL statements for their new system.
      In order to preserve the AutoInc values I would recommend altering the table and changing the field datatype from AutoInc to Integer. Then export the table as code which will export the actual values. After the tables have been created on the new system they can change the field datatype back to an AutoInc type if necessary.
    Regards,
    Chris Franz

  • Display a metric differently only on last day of the month.

    Have a Daily transaction fact where unit cost of product is stored at a day/part num /business unit level.
    When we drag and drop date column and unit cost in the report like below we will have
    Date      cost
    Sep29     $10
    sep30     $12
    Oct1       $12
    Oct2       $14
    ..........ans so on
    The source sustem program runs on last day of the month around 8pm for setting up cost to reflect on 1st of every month
    But the nighly OBI load ( Runs at 2am every day) when incrementally updating Sep30 data picks up $12 from the erp and populates in OBI.
    But actually speaking, on Sep30 the cost was $10.
    There is no way of running the ERP program to run afer OBI load. Hence we need an expression in the RPD (not answers) saying
    when last day of the month (any month) the standard cost must be a previous day value.All other days the same value should be returned.
    Is this possible without impacting report performance ?
    So, when we drag and drop date and cost value the above report should change as
    Date        Cost
    sep29     $10
    sep30     $10
    Oct1       $12
    Oct2       $14
    Oct30     $12.5
    Oct31     $12.5
    Nov1      $13.5

    You can achieve the above requirement for current month alone with below steps:
    The solution requires to have a union report
    First part of the report will have Date and Cost fields with a report level date filter, Date NOT IN (TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_MONTH , 1, TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE))))
    Second part of the report will have Date and Cost fields with a report level date filter Date IN (TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_MONTH , 1, TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE))))In the second part of the report,
    Change the column formula for Date to display only Current_Date
    Change the column formula for Cost field with FILTER(Cost USING Date = Current_Date-1)
    Pls mark if correct/helpful.

  • Report displaying days of a month and projects

    Hi,
    I want to create a spreadsheet-like report displaying the days of a month as columns and the projects as rows. It is a report of the daily hours worked on the projects.
    It should look like this:
    Sat Sun Mon Tue ... Mon
    1. 2. 3. 4. ... 31.
    project1 3.5 1.0 2.5 etc.
    project2 5.0 2.5 etc.
    project3 1.0 4.5 etc.
    I got two tables (a little simplified), a table "day" with the columns
    id NUMBER(9)
    day DATE
    and a depending table "hours"
    id NUMBER(9)
    day_id NUMBER(9)
    project_id NUMBER(9)
    worked_hours NUMBER(6,2)
    I got it together (a little simplified) what I want for the current day:
    select
    '', to_char(sysdate, 'Day')
    from dual
    union all
    select
    '', to_char(sysdate, 'DD.MM.YYYY')
    from dual
    union all
    select
    h.project_id, h.worked_hours
    from day d, hours h
    where d.id = h.day_id
    Now the big question: How do I expand that to the full month as shown above?
    How do I display the whole month and the corresponding hours of a project every day?
    Anyone has a done something similar or has a hint?
    Any help is highly appreciated,
    regards,
    Roger

    I see others have already given answers the same... but hey, I spent a few minutes on it so I'm giving mine too. ;)
    SQL> ed
    Wrote file afiedt.buf
      1  with day as (select rownum as id, to_date('01/10/2007','dd/mm/yyyy')+rownum-1 as Day from dual connect by rownum <= 31)
      2      ,hours as (select rownum as id, x.rn as Day_id, y.rn as project_id, rownum as worked_hours
      3                 from (select rownum rn from dual connect by rownum <= 31) x
      4                     ,(select rownum rn from dual connect by rownum <= 5) y
      5                     )
      6  -- end of test data
      7  select h.project_id
      8        ,CAST(MAX(decode(to_char(d.day,'DD'),'01',h.worked_hours,NULL)) as varchar2(3)) as D01
      9        ,CAST(MAX(decode(to_char(d.day,'DD'),'02',h.worked_hours,NULL)) as varchar2(3)) as D02
    10        ,CAST(MAX(decode(to_char(d.day,'DD'),'03',h.worked_hours,NULL)) as varchar2(3)) as D03
    11        ,CAST(MAX(decode(to_char(d.day,'DD'),'04',h.worked_hours,NULL)) as varchar2(3)) as D04
    12        ,CAST(MAX(decode(to_char(d.day,'DD'),'05',h.worked_hours,NULL)) as varchar2(3)) as D05
    13        ,CAST(MAX(decode(to_char(d.day,'DD'),'06',h.worked_hours,NULL)) as varchar2(3)) as D06
    14        ,CAST(MAX(decode(to_char(d.day,'DD'),'07',h.worked_hours,NULL)) as varchar2(3)) as D07
    15        ,CAST(MAX(decode(to_char(d.day,'DD'),'08',h.worked_hours,NULL)) as varchar2(3)) as D08
    16        ,CAST(MAX(decode(to_char(d.day,'DD'),'09',h.worked_hours,NULL)) as varchar2(3)) as D09
    17        ,CAST(MAX(decode(to_char(d.day,'DD'),'10',h.worked_hours,NULL)) as varchar2(3)) as D10
    18        ,CAST(MAX(decode(to_char(d.day,'DD'),'11',h.worked_hours,NULL)) as varchar2(3)) as D11
    19        ,CAST(MAX(decode(to_char(d.day,'DD'),'12',h.worked_hours,NULL)) as varchar2(3)) as D12
    20        ,CAST(MAX(decode(to_char(d.day,'DD'),'13',h.worked_hours,NULL)) as varchar2(3)) as D13
    21        ,CAST(MAX(decode(to_char(d.day,'DD'),'14',h.worked_hours,NULL)) as varchar2(3)) as D14
    22        ,CAST(MAX(decode(to_char(d.day,'DD'),'15',h.worked_hours,NULL)) as varchar2(3)) as D15
    23        ,CAST(MAX(decode(to_char(d.day,'DD'),'16',h.worked_hours,NULL)) as varchar2(3)) as D16
    24        ,CAST(MAX(decode(to_char(d.day,'DD'),'17',h.worked_hours,NULL)) as varchar2(3)) as D17
    25        ,CAST(MAX(decode(to_char(d.day,'DD'),'18',h.worked_hours,NULL)) as varchar2(3)) as D18
    26        ,CAST(MAX(decode(to_char(d.day,'DD'),'19',h.worked_hours,NULL)) as varchar2(3)) as D19
    27        ,CAST(MAX(decode(to_char(d.day,'DD'),'20',h.worked_hours,NULL)) as varchar2(3)) as D20
    28        ,CAST(MAX(decode(to_char(d.day,'DD'),'21',h.worked_hours,NULL)) as varchar2(3)) as D21
    29        ,CAST(MAX(decode(to_char(d.day,'DD'),'22',h.worked_hours,NULL)) as varchar2(3)) as D22
    30        ,CAST(MAX(decode(to_char(d.day,'DD'),'23',h.worked_hours,NULL)) as varchar2(3)) as D23
    31        ,CAST(MAX(decode(to_char(d.day,'DD'),'24',h.worked_hours,NULL)) as varchar2(3)) as D24
    32        ,CAST(MAX(decode(to_char(d.day,'DD'),'25',h.worked_hours,NULL)) as varchar2(3)) as D25
    33        ,CAST(MAX(decode(to_char(d.day,'DD'),'26',h.worked_hours,NULL)) as varchar2(3)) as D26
    34        ,CAST(MAX(decode(to_char(d.day,'DD'),'27',h.worked_hours,NULL)) as varchar2(3)) as D27
    35        ,CAST(MAX(decode(to_char(d.day,'DD'),'28',h.worked_hours,NULL)) as varchar2(3)) as D28
    36        ,CAST(MAX(decode(to_char(d.day,'DD'),'29',h.worked_hours,NULL)) as varchar2(3)) as D29
    37        ,CAST(MAX(decode(to_char(d.day,'DD'),'30',h.worked_hours,NULL)) as varchar2(3)) as D30
    38        ,CAST(MAX(decode(to_char(d.day,'DD'),'31',h.worked_hours,NULL)) as varchar2(3)) as D31
    39  from day d, hours h
    40  where h.day_id = d.id
    41  group by h.project_id
    42* order by h.project_id
    SQL> /
    PROJECT_ID D01 D02 D03 D04 D05 D06 D07 D08 D09 D10 D11 D12 D13 D14 D15 D16 D17 D18 D19 D20 D21 D22 D23 D24 D25 D26 D27 D28 D29 D30 D31
             1 1   6   11  16  21  26  31  36  41  46  51  56  61  66  71  76  81  86  91  96  101 106 111 116 121 126 131 136 141 146 151
             2 2   7   12  17  22  27  32  37  42  47  52  57  62  67  72  77  82  87  92  97  102 107 112 117 122 127 132 137 142 147 152
             3 3   8   13  18  23  28  33  38  43  48  53  58  63  68  73  78  83  88  93  98  103 108 113 118 123 128 133 138 143 148 153
             4 4   9   14  19  24  29  34  39  44  49  54  59  64  69  74  79  84  89  94  99  104 109 114 119 124 129 134 139 144 149 154
             5 5   10  15  20  25  30  35  40  45  50  55  60  65  70  75  80  85  90  95  100 105 110 115 120 125 130 135 140 145 150 155
    SQL>

  • Run process chain on last three days of the month

    Hello
    I need to run process chain on last three days of the month. For example , It should run on 28, 29 and 30th dates of June.
    There is no option to put a code in the start process of the process chain.
    I can run it every day and put a code in the infopackage/DTP so that empty load (0 records) will be done on other days.
    This doesnt sound as a good option.
    Do u know any other options?

    Hi
    See the code and details how to do it, and change the code as per your requirement.
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Triggering  the Process Chains at Particular Date using Events
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/triggering%20%20the%20process%20chains%20at%20particular%20date%20using%20events.pdf
    BI-ABAP (Trigger Process Chains on evry month 3rd and 4th day).
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=81428842 
    Thanks
    Reddy

  • BIP eBusiness Suite Dates - How to include the last day of the month?

    How can I get my report to include the last day of the month 'without' forcing my users to enter the non-intuitive first of the next month as a parm?
    I have a report that will generally be run for a month but can be run for any pair of dates representing the first and last date to be included in the report.
    When we pass the dates from Oracle Apps to the report it is truncating the date to midnight. This results in the last date entered 'NOT' being included in the report as the second date is marked as "midnight". When I attempt to simply add "=1" to the end date it fails due to formatting issues in apps (only). I have gotten this to work on our Enterprise edition server that we use for testing (only) but it fails in our apps environment.
    In APPs we input the date in the format "01-AUG-2007", and this is how it shows in the parm line before the report is submitted as well as in the "View Details" after the report is executed: http://home.swbell.net/grog1//work/req_details_5607586.jpg
    However it is odd in that we in the "View Log" entry it shows the date formatted as "2007/08/01 00:00:00": http://home.swbell.net/grog1/work/view_log_5607586.jpg
    Even odder is that under diagnostics, "View XML" the date is formatted third way as: "2007/08/01 00:00:00.0" (note it now includes tenths of a second): http://home.swbell.net/grog1/work/view_xml_5607586.jpg
    This of course makes it difficult to perform conversions and calculations on the date in the SQL.
    Is APPs doing some sort of 'timestamp' conversion?
    How can I get my report to include the last day of the month 'without' forcing my users to enter the non-intuitive first of the next month as a parm?
    Any feedback is appreciated,
    Scott

    No. The problem/error occurs long before the data is formatted into xml for presentation to the format template.
    The error occurs in the SQL in the 'data' template when I attempt to add a day to the date. It either does not like the implicit conversion with the "+1" and then the use of the "between" with another date or if I attempt to manually convert it has problems with the format mask.
    Scott

  • How to: Schedule a job to run on the first business day of the month

    In Oracle 10.2.0.3, is there a way to schedule a repeating job to run on the first business day of the month? For example, if the first of the month falls on a weekend (such as Saturday, 11/01/2008), I would like the job to run automatically on Monday (for example, 11/03/2008) instead.

    set serveroutput on
    begin
      print_dates('FREQ=MONTHLY;BYDAY=MON,TUE,WED,THU,FRI;BYSETPOS=1;',
          to_timestamp_tz('01-JAN-2008 12:00:00','DD-MON-YYYY HH24:MI:SS'), 12);
    end;
    Gives:
    TUE 01-JAN-2008 (001-01) 12:00:00 -07:00 -07:00
    FRI 01-FEB-2008 (032-05) 12:00:00 -07:00 -07:00
    MON 03-MAR-2008 (063-10) 12:00:00 -07:00 -07:00
    TUE 01-APR-2008 (092-14) 12:00:00 -07:00 -07:00
    THU 01-MAY-2008 (122-18) 12:00:00 -07:00 -07:00
    MON 02-JUN-2008 (154-23) 12:00:00 -07:00 -07:00
    TUE 01-JUL-2008 (183-27) 12:00:00 -07:00 -07:00
    FRI 01-AUG-2008 (214-31) 12:00:00 -07:00 -07:00
    MON 01-SEP-2008 (245-36) 12:00:00 -07:00 -07:00
    WED 01-OCT-2008 (275-40) 12:00:00 -07:00 -07:00
    MON 03-NOV-2008 (308-45) 12:00:00 -07:00 -07:00
    MON 01-DEC-2008 (336-49) 12:00:00 -07:00 -07:00
    and the print_dates function is (10.2):
    create or replace procedure print_dates
      cal_string in varchar2,
      start_date in timestamp with time zone,
      nr_of_dates in pls_integer
    is
      date_after timestamp with time zone := start_date - interval '1' second;
      next_execution_date timestamp with time zone;
    begin
      dbms_output.put_line('  -->');
      for i in 1 .. nr_of_dates
      loop
        dbms_scheduler.evaluate_calendar_string
         (cal_string, start_date, date_after, next_execution_date);
        dbms_output.put_line(to_char(next_execution_date,
                        'DY DD-MON-YYYY (DDD-IW) HH24:MI:SS TZD TZH TZR'));
        date_after := next_execution_date;
      end loop;
    end;
    [\pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How do I add a recurring event to repeat on the fifth recurring day of the month, for example, an event that only happen on the fifth Sunday of the month for those months that have a fifth Sunday?

    How do I add a recurring event to repeat on the fifth recurring day of the month, for example, an event that only happen on the fifth Sunday of the month for those months that have a fifth Sunday?

    Create one on the first Tuesday, select repeat/monthly and take the option at the bottom.

  • Day of the week and the day of the month out of sync

    I'm not sure this is the right forum to post this, so I apologize in advance.
    When I open iCal on my iPhone 4 in day view I see Oct 29 with a W for Wednesday on top of it although below the days of the month it reads: Tuesday, October 29, 2013.
    Is anyone experiencing this problem? Any solution?
    TIA

    Thanks for replying, ChrisJ4203. It's defintely a problem with Brazilian users. Here's a workaround a countryman posted:
    I've managed to fix it:
    Go to Settings / Mail Contacts and Calendars / Start the week on
    Change from Sunday to Monday.
    It appears people in Brazil are the only ones affected.
    It's a good work-around  while apple does not fix this bug.
    Mesmo problema aqui. Como consertar:
    Ajustes / Mail contatos e calendários / Iniciar a semana em:
    Mude de "Domingo" para "Segunda"
    Parece que somente pessoas no Brasil foram afetadas.
    É uma boa forma de contornar enquanto a Apple não repara a bug.
    iPhone 5 - iOS 7.0.3

  • Schedule Executed weekly except for a specific day of the month

    Hi all,
    I need to create a schedule that run weekly every sunday at 9 PM, except for 2nd day of the month it will run at 7 AM.
    I have created 2 schedules:
    1. One to run weekly every sunday at 9 PM, but i don't know from where i can specify the days of the month the schedule will be inactive on it.
    * I have tried By Month Day option, and choose all days of the month except second day of the month to run on it.
    FREQ=WEEKLY; BYMONTHDAY=1,3,4,5,..,31; BYDAY= SUN; BYHOUR=21;
    But, on the schedule preview window as i have designed the schedule from oracle warehouse builder, shows sunday, 02, July for example.
    as an execution date for this schedule.
    which is not appropriate.
    2. Another job is created to run monthly on the 2nd day of the month,
    FREQ=MONTHLY; BYMONTHDAY=2; BYDAY= SUN; BYHOUR=7;
    So, please advice how to create schedules daily or weekly and neglect some days of month from it.

    Hi,
    You can use the exclude clause introduced in 10gR2 for this by creating a schedule when your job should not run and excluding it. An example is given below.
    Hope this helps,
    Ravi.
    create or replace procedure print_schedule_dates
       schedule in varchar2,
       start_date in timestamp with time zone default dbms_scheduler.stime(),
       number_of_dates in pls_integer default 10
    is
      date_after timestamp with time zone := start_date - interval '1' second;
      next_date timestamp with time zone;
    begin
      for i in 1 .. number_of_dates
      loop
        dbms_scheduler.evaluate_calendar_string
         (schedule, start_date, date_after, next_date);
        dbms_output.put_line(to_char(next_date,
                        'DY DD-MON-YYYY (DDD-IW) HH24:MI:SS TZH:TZM TZR'));
        date_after := next_date;
      end loop;
    end;
    begin
      dbms_scheduler.create_schedule('monthday2',
        repeat_interval=>'freq=monthly;bymonthday=2');
    end;
    exec print_schedule_dates('FREQ=WEEKLY;BYDAY=SUN;BYHOUR=21;exclude=monthday2',sysdate+1,30);
    exec print_schedule_dates('FREQ=WEEKLY;BYDAY=SUN;BYHOUR=21',sysdate+1,30);

  • How to create a recurrent event on the first or last work day of the month

    The lightning calendar allows selection of the first and last day of the month for recurrent events but for business I need to use the first and last WORK day of the month (Monday - Friday) to schedule particular tasks. In the calendar preferences under 'View' I can select the days that make up the work week but this does not transfer to an option in recurrent events. Is there another way to do this or is it just not available?

    Hi there,
    do know for the UlltimateBootCD4Win? This from CD bootable WinXP-BartPEedition with additional tools gives you the ability to make such things like partitioning, backup or formatting your HDD.
    It has many more applications which help you to maintain your system without booting your original OS.
    So I think that this CD will solve your partitioning issues.
    Heres a link: www.ubcd4win.com/
    Just try it and tell me your opinion.
    Nice weekend and greetings from the sunny south ;)

  • ICal 3.0: Last day of the month repeating event

    I am migrating back to iCal after a few years using Entourage. I am trying to set up calendar events and reminders for the last day of every month, but I can't figure out how to do it. In Entourage this was easy. Any advice? Thank you.

    I would like this to be an easy feature included in iCal as I get paid on the 16 and second to last day of the month. I want iCal to show the event in the calendar, not for me to set the event and have an alarm for 24 hours before. I tried the trick found at http://www.macworld.com/article/47872/2005/11/trickical.html but that does not work with iCal 3.0.
    Any help would be appreciated or maybe Apple adding this in the repeating section of the ical event seeing it is apart of the icalendar specification.
    tim

  • I want the minimum of the horizontal axis to be the first day of the month.

    I have a situation where I want the minimum of the horizontal
    axis(with date time axis) to be the first day of the month. I
    attempt it like so:
    var max:Date = new Date();//current date is our max from
    which we will calculate the min
    var min:Date = new Date(max.fullYear,max.month,1);
    dateTimeAxis.minimum = min;
    However this first date on this axis is the last day of the
    previous month for example 31 August instead of 1 September. Any
    ideas how to fix?

    Nikos, the only thing I can think of (off hand) is that it's
    defaulting to "zero" hour on that date, if you tried:
    var min:Date = new Date(max.fullYear,max.month,1,13);
    Would that make it work? That would set the date to 1pm.
    Have you considered defining the axis with the data you are
    binding to?
    Cheers,
    David

Maybe you are looking for