erikmarbad Posted March 24, 2022 Share Posted March 24, 2022 I am trying to format a date type parameter so that the current date is by default, such as: 2022-03-24<parameter name="FLIB" class="java.sql.Date"> <defaultValueExpression><![CDATA[new SimpleDateFormat("yyyy-MM-dd").format(new Date())]]></defaultValueExpression> </parameter> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now