Forum Moderators: open
October 06, 2004
This is what I have:
protected void Page_Load(Object s, EventArgs e)
{
lblDate.Text = DateTime.Now.ToString();
}
AND
Today's date: <asp:label ID="lblDate" runat="server"></asp:label>
I just can't find any examples of how you format it so it looks the way I want it. Thanks....
Here's a 4Guys [aspfaqs.com] article that I found that explains it.