Help me with showing date today

Hi all,

I would like to send daily record and give title as yyyy-mm-dd daily report.
But if I use DateTime.Today.ToString then it shows like yyyy-mm-dd 00:00:00
How can I erase that 00:00:00?
Please help

@kjy031710

Please use Today.ToString("yyyy-MM-dd")

you can specify any format you need and the output would be according to it

cheers

@kjy031710

Today.ToString("yyyy-MM-dd") will remove that time values from the output.