Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can I show print date in rdlc report. I have used a textbox and in expression I used the formula "=CDate(Today()).ToString("MM/dd/yyyy")". It is ok. But I need date and time bothe to show. Please help me.
Posted
Updated 3-Sep-17 22:51pm

Use this
VB
Format(Now(),"MM/dd/yyyy h:mm:ss tt")
 
Share this answer
 
v2
Comments
Rodrigo Alex Rodriguez 14-Jan-18 19:43pm    
How do I change the date in Spanish in = now()
 
Share this answer
 
Comments
Rodrigo Alex Rodriguez 14-Jan-18 19:43pm    
How do I change the date in Spanish in = now()
="Current Date:-"&Format(Now,"dd/MM/yyyy hh:mm tt")
 
Share this answer
 
Comments
Richard Deeming 5-Sep-17 15:10pm    
As Arora Ankit said in solution 1 - THREE YEARS AGO!
Rodrigo Alex Rodriguez 14-Jan-18 19:43pm    
How do I change the date in Spanish in = now()

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900