Forum Discussion
SiKing
13 years agoCommunity Hero
Are you asking for a weekend date, or are you asking for an invalid date?
For an invalid date just place another digit at the end, so something like
For a weekend date this is not going to be a one-liner! You will probably have to use GregorianCalendar(); see http://groovy.codehaus.org/JN0545-Dates for hints.
For an invalid date just place another digit at the end, so something like
${=new java.text.SimpleDateFormat("yyyy-MM-dd").format(new Date())}1For a weekend date this is not going to be a one-liner! You will probably have to use GregorianCalendar(); see http://groovy.codehaus.org/JN0545-Dates for hints.