• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 767
  • Last Modified:

Help with removing time in date field in RDLC report (MS Report with VS 2010)

Hi,

I am including the "Today" expression to display current date, but I am also getting "12:00:00AM" is there away to remove that part?

Thanks,

victor
0
vcharles
Asked:
vcharles
1 Solution
 
Easwaran ParamasivamCommented:
DateTime dateAndTime = DateTime.Now;
Console.WriteLine(dateAndTime.ToString("dd/MM/yyyy"));

{Link removed - please refer to EE's Terms of Use
GaryC123 - ZA}
0
 
vcharlesAuthor Commented:
Hi,

Can it be remove from the rdlc file? I am including the Toda() method, was hoping there was a way to remove the time or select another date method that does not contain the time.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now