Hi, have a look at
Custom Date and Time Format Strings[
^] to see how the DateTime.ToString can be formatted.
Something like this should be what you are looking for:
aspx:
<asp:label id="LblTime" runat="server" backcolor="#6600ff" forecolor="#ffffff" />
code behind:
protected void Page_Load(object sender, EventArgs e)
{
LblTime.Text = string.concat("Hello, Current time is:",DateTime.Now.ToString("hh:mm:ss tt"), " Have a Good Day");
}
... hope it helps.