Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Star
9612 Points
1602 Posts
Sep 23, 2011 06:10 PM|LINK
Because you are converting string into date. that why it is giving error
you need to convert like
Convert.ToDateTime(literal1.Text).ToString("d")
princeG
Star
9612 Points
1602 Posts
Re: Change the date format displayed by the DateTime Field Templates
Sep 23, 2011 06:10 PM|LINK
Because you are converting string into date. that why it is giving error
you need to convert like
Convert.ToDateTime(literal1.Text).ToString("d")