Reporting Services Remove Time from DateTime in Expression

Viewed 169875

I'm trying to populate an expression (default value of a parameter) with an explicit time. How do I remove the time from the the "now" function?

14 Answers
=CDate(Now).ToString("dd/MM/yyyy")

Although you are hardcoding the date formart to a locale.

Just use DateValue(Now) if you want the result to be of DateTime data type.

Related