CodeIgniter Forums

Full Version: Calendar class, is there a way to show previous month dates in current calendar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I am trying to figure out if its possible to show up some of previous months dates in current calendar.
example
[Image: leftside_calender.gif]

This calendar shows greyed out dates from previous months.

What am I doing.
We have a requirement to show up date ranges of pay cycles. Now the pay cycles does cross a month.
In DB we have start_date and Period
The period saves values like "weekly, monthly, biweekly", so we calculate and get the end_date for the same.
I was able to generate all dates from Start to ends and feed it to the calendar library.

This all works fine for current month, but not for next month since we have new dates for next month.

thank you
i guess you should ask here https://forum.jquery.com/