<cfset prevmonth = DateFormat(DateAdd("M", -1, thisCalMonthStart),
"YYYY-MM-DD") />
<cfset nextmonth = DateFormat(DateAdd("M", 1, thisCalMonthStart),
"YYYY-MM-DD") />

<cfset prevmonthlink = event.linkTo( "pcalendar", thisCalMonth />
<cfset nextmonthlink = event.linkTo( "pcalendar", thisCalMonth />


where "thisCalMonth" can be the first value (prevmonth) in the first
link and the second value (nextmonth) in the second link.

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to