>how can I get the date for the end of the month?
>
>I want the salary receipts dated on 08/31/2009 (end of the month), eventhough I print them on the middle of the month.
>
>thanks for the help
>
>regards,
>
>Jerry
End of Month:
gomonth(date() - day(date()) +1,1) - 1
See also
http://fox.wikis.com/wc.dll?Wiki~FindingTheLastDayOfTheMonth
If it's not broken, fix it until it is.
My Blog