A Calendar control displays a standard month calendar where the user can select a date. Setting and retrieving a date
To retrieve the date being currently shown in a Calendar control, call <winterpostwiki>wb_get_value()</winterpostwiki>. The date is retrieved as a standard Unix timestamp that can be entered directly into PHP functions like date(), getdate() and strftime().
Conversely, <winterpostwiki>wb_set_value()</winterpostwiki> can be used to set the current date of a Calendar control. the date must be a standard Unix timestamp such as those values returned from PHP functions mktime(), strtotime() and time().