Jump to content
We've recently updated our Privacy Statement, available here ×

cyberwinni

Members
  • Posts

    2
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Everything posted by cyberwinni

  1. Thank you. It works. But one question for my understanding. Can you explane me that funktion: DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM).format($F{date}) what does getDateTimeInstance? And why DateFormat.MEDIUM two times? Convert this funktion a Timestamp field into a Srting field?
  2. I have Field $F{date} with format timestamp. At the moment in ireport in the Report the Text Field Expression is this: DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM).format($F{date}) The result is: 27.04.2021 15:15:00 But I need only the date without the time: 27.04.2021 And I don't know how it works. When I use getDateInstance: DateFormat.getDateInstance(DateFormat.MEDIUM, DateFormat.MEDIUM).format($F{date}) I get a problem: The method getDateInstance(int) in the Type DateFormat is not applicable for the arguments (int,int) What can I do?
×
×
  • Create New...