Hi Crystal Developers,
I am trying to write a Crystal Report (v2011) that accepts user input for start date and end date. I have set up 2 parameters to do this.
The report connects to the database via a Command object, and I want to reference the parameters in the command object so that data retrieval is quick.
All date data in the database is stored in UTC.
When the user is prompted to enter dates, they are going to input in local time (they are not going to know about UTC...nor should they).
I cannot see a way to convert the user date data into UTC and use it in the command object. Crystal has ShiftDateTime, but this can only be used in formulas, and I don't really want to hard-code a value in the SQL of the command object either.
Any ideas? Thanks