I have an SSRS report with two parameters that are dates. Of course, the date selector does not allow you to choose the time to go with dateTIME, which will make too much sense. So my idea was to give the datetime parameters a default value. For example, if I wanted the default value for a parameter to be at 8:30 a.m. today, how would I do it?
So, if today was 9/4/2013, I want to see just that: 04/09/2013 8:30.
I tried all kinds of formatting. The closest I got did this:
=CDate(Format(Today(), "MM/dd/yyyy") & " 8:30 AM")
But I could never get seconds in order not to be displayed, because you always need to convert it back to datetime from a string, otherwise you will get an invalid type error, and CDdate ALWAYS will display seconds.
user2744449
source share