alevi12 Posted March 24, 2014 Share Posted March 24, 2014 In Jasper, I have a date looking like this ($P{Start_Datum}.getYear()+1900)>=1901Now i need a String before the Date.Now i make this "Von" +$P{Start_Datum}and the result shows like this : Von Tue Feb 25 00:00:00 CETI need only for example: Von : 12.10.2002 Link to comment Share on other sites More sharing options...
Solution ybablyuk Posted March 24, 2014 Solution Share Posted March 24, 2014 Hello, If you men use it in jasperreport you can use date pattern. Look attched screen. In report you can have label with text "Von :" and after this label you can put your field with correct date pattern. Or you can use pattern like this "'Von : ' MM.dd.yyyy" Link to comment Share on other sites More sharing options...
alevi12 Posted March 24, 2014 Author Share Posted March 24, 2014 Ahh ok i understand you. I am try it and now it works. Thank for your answer ;-) 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