This is a migrated thread and some comments may be shown as answers.

Set Time on DateTime Parameter

1 Answer 451 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
DSamani
Top achievements
Rank 1
DSamani asked on 18 Jul 2016, 07:59 PM

How does one set the Time portion on a DateTime parameter in the standalone report designer?  My 'EndDt' DateTime parameter is using 00:00:00 as the time and I need it to be 23:59:59. 

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 21 Jul 2016, 11:54 AM
Hi,

You can use an expression like:
= Date(2017,1,1).AddSeconds(CDbl(86399))
It is based on the built-in Date and Time functions. You can also use a custom function, that can be loaded by the Standalone Report Designer - Extending Report Designer.


If you are creating a DateTime variable via expression, you will be able to use fields, properties and methods exposed by the DateTime type.

Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Report Designer (standalone)
Asked by
DSamani
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or