Link to home
Create AccountLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

ASP.net Template field get date

Hi

I have an ASP.net template field that holds a DateTime value
I use the following line to find the control. How do I just get the date part in the format "dd MMM yyyy"?

      Dim lblDateTime As Label = CType(row.FindControl("lblDateTime"), Label)
ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Murray Brown

ASKER

thanks very much