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

How to convert a date/time parameter to unixtime


rouchi.spam

Recommended Posts

Hi everyone. I'm trying to create a form that retrieve values from a database. The database field has a date/time column that store values in unixtime format. The report created in jasper uses a calendar in witch we select Date and Time. I need a way to convert the values entered in the jasper calendar Date/Time to unixtime so i can build the sql query. The values entered in the calendar are convert to a weird format as can be seen in the pictures below.

 

2014-10-0915_46_27-JaspersoftiReportDesigner5_5_0(1).png.44c5c8281e2b6bd47c9f4d1273426a23.png

 

2014-10-0915_46_48-JaspersoftiReportDesigner5_5_0(1).png.d863777580a1817d42c5ca31d2211d71.png

2014-10-0915_46_27-JaspersoftiReportDesigner5_5_0(1).png.18f6be52492b536e4d20c8b97faacd5b.png

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 4 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...