Is there any way to get teh date time prompt to display hours & minutes? For example, if I default the field to '=Today', I would like to see '8/10/2006 9:04 AM' instead of '8/10/2006'
Similarly, when I pick a date using the date picker control that is displayed by default, I would like it to also display the time, which I guess would default to 12:00 AM.
Thanks in advance!
I have a report parameter set using :
=DateSerial(Year(now()), Month(now()), 0) that displays the last day of the month as default and when you view the report the end date is populated as:
7/31/2006 12:00:00 AM
does that help?
|||Hi,
I encountered the same situation once and this is what I did:
in the report parameter --> default values, write the following expression
=today().addseconds(1). This will display the data and time when you run the report. The only thing is that for the default value it will add 1 second.
--Amde
|||Thanks...your replies got me off on the right path. I ended up using the following:
=DateAdd("h",12,Today)
and
=now
I had been using =Today which just returns a date. Duh.
No comments:
Post a Comment