Calendar Data

Use this to extract a few pieces of info from the calendar

Calendar Data Fields

Date Ranges

  1. Start of Range

    1. This is the start of the day for the first visible day on the calendar.

      1. In week view, this is 12:00 AM Sunday

      2. In day view, this is 12:00 AM [relevant day]

      3. In month view, this is 12:00 AM on sunday of the first week of the month, not the first day of the month

        1. To achieve the first day of the month as the date output, you'll need to toggle non-current month days

  2. End of Range

    1. This is an odd fellow. These will appear wrong but in fact are correct.

      1. In week view, this is 12:00 AM on the Sunday after the last day in the week.

      2. In day view, this is 12:00 AM, the next day

      3. In Month view, this is 12:00 AM the sunday after Saturday during the last week in the month.

    2. This oddity of being the next day allows the range to capture the entire day.

      1. If the end of range was 12:00 AM the last day of the period, the duration passed between start and end would be mathematically incorrect. It would look right to our eyes, but math doesn't lie.

      2. A week has 7 24-hour periods to total 168 hours per week

        1. If the end of range did not go all the way through to 12:00 of the next day, a weeks hours totaled would be 144 or a day short.

        2. 12:00AM sunday - 12:00 AM friday = 144 hours or 6 full days

        3. 12:00AM sunday - 12:00

Calendar view

  • This is a simple string printed out representing the current calendar view. this could be used to control workflows or other on screen visuals.

Event Array

  • This allows you to review your event array. There is not much use to this. I have used this value to total the number of events between sources.

Last updated