/build/static/layout/Breadcrumb_cap_w.png

Reporting Wizard invalid date format?

Anyone experience this with the reporting on their K1000?

currently running version 5.4.76847

I was trying to build a simple report through the wizard.  All the report did was tell me any tickets created between two date ranges.  It was simple enough to run through the wizard to do what I wanted but it kept coming back with no results.  I checked the SQL code, and was messing around with it until finally I discovered that the wizard was generating the wrong date format. 

 

This is the generated code that didn't return any results:

SELECT HD_TICKET.CREATED  FROM HD_TICKET  WHERE (HD_TICKET.HD_QUEUE_ID = 3) AND (HD_TICKET.CREATED > '04/01/2013 00:00:00') AND (HD_TICKET.CREATED < '06/30/2013 23:59:59')  ORDER BY CREATED

however when I modified the SQL to this it worked(note the date orientation, YYYY/MM/DD):

SELECT HD_TICKET.CREATED  FROM HD_TICKET  WHERE (HD_TICKET.HD_QUEUE_ID = 3) AND (HD_TICKET.CREATED > '2013/04/01 00:00:00') AND (HD_TICKET.CREATED < '2013/06/30 23:59:59')  ORDER BY CREATED

 


0 Comments   [ + ] Show comments

Answers (1)

Posted by: jknox 11 years ago
Red Belt
0

There's a bug that causes that to happen.  The work-around is to manually change the date format to YYYY-MM-DD HH:MM:SS in the MySQL code of the wizard generated report.  As you already found, it would seem that YYYY/MM/DD works as well.

It should be fixed in the 5.5 K1000 release which is expected late July / early August.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ