Jump to content
Changes to the Jaspersoft community edition download ×

MySQL datetime pattern


dsmithsonhome

Recommended Posts

Hi. Suppose I want to specify a date range using input controls. The dates are in MySQL datetime format:

Code:
yyyy-mm-dd hh:mm:«»ss.  I've decided I will use two inputs, MaxTime and MinTime or something like that.  The two parameters will feed into a third parameter which constructs the WHERE clause for the SQL query.  Question is, how do I specify the pattern in the input control to get the datetime format that MySQL will understand?

Post edited by: dsmithsonhome, at: 2006/08/24 02:43

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...