In reporting services, I have a “from” and “to” field to denote datetimes that the report is to run on. The problem is that the default datetime picker picks a default time of 12:00am for the time, I want the “from” field to be date + “00:00” and the “to” field to be date + “23:59:59” How can I do this?
Share
The field referencing the parameters with “Expression” property on the field will have syntax similar to the following:
and
The expressions should be modified as follows:
from:
and to:
If my syntax is off, you can verify what I am doing at the following pages:
http://msdn.microsoft.com/en-us/library/aa337194%28v=SQL.100%29.aspx
http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx
Thanks. Let me know if you need anything else.
UPDATE:
You’ll want to apply the following to your “To” date parameter to whatever data retrieval call you are supplying parameters to if you want the date to go through the “To” date (same syntax as above):
Frank