PHP Classes

Specify the date to highlight

Recommend this page to a friend!

      Calendar generation class  >  All threads  >  Specify the date to highlight  >  (Un) Subscribe thread alerts  
Subject:Specify the date to highlight
Summary:Seed the calendar with a specific date
Author:Steve Rumberg
Date:2018-02-25 07:13:33

  1. Specify the date to highlight   Reply   Report abuse  
Picture of Steve Rumberg Steve Rumberg - 2018-02-25 07:13:33

I would like to open the calendar set to a date that I specify.

For example, I would like to:

// seed calendar to Feb 24, 2018
$calendar = new Calendar(2018, 02, 24);


$calendar->gen_cal(2018, 02,24);

How do you recommend that I do that?