View Single Post
 
Old 04-04-2014, 06:25 AM
JustinCase2 JustinCase2 is offline
Junior Contributor
 
Join Date: Apr 2006
Posts: 324
Default Well

If you can do this in codebehind, it is as simple as

Code:
Header.Text="Visitor Log " & DateTime.Now.ToString("dd.MM.yyyy")
You can set any date format you wish in Place of "dd.MM.yyyy".

If you need to do it in the html code, you can do something like:

Code:
HeaderText="Visitor Log <%# DateTime.Now.ToString('dd.MM.yyyy') %>"
I am not 100% sure of the syntax of that last part, but you should be able to figure it out from there.
Reply With Quote