binding variable date field HELP!!!

Is there a way to assign binding variables to the month, day and year of a content item from the sys_contentstartdate field?

Below gets the month in calender format, but i would like to get the year.
$rx.calendarMonthModel.assign($sys.item.getProperty(‘rx:sys_contentstartdate’).Date)

Hi Rons

$tools.date.getYear($sys.item.getProperty('rx:sys_contentstartdate').Date)

You can also do getMonth and getDay.

Cheers
James

This works for me except for the month. It seems to start counting at 0. Is there an easy way to have the full name of the month written out? If it helps, I have a keyword list that has all the months in it.

Hi Angus

This just prints out the month name:

$tools.date.format('MMMM',$sys.item.getProperty('rx:sys_contentstartdate').Date)

Cheers
James