Common PrintTask
Common_PrintTask_VBNet\PrintTemplates\ServerTimestamp.aspx.vb
' Copyright 2011 ESRI
' 
' All rights reserved under the copyright laws of the United States
' and applicable international laws, treaties, and conventions.
' 
' You may freely redistribute and use this sample code, with or
' without modification, provided you include the original copyright
' notice and use restrictions.
' 
' See the use restrictions.
' 

Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls

Partial Public Class PrintTemplates_ServerTimestamp
  Inherits System.Web.UI.Page
  Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
    TimestampLabel.Text = String.Format("Created on {0} at {1}", DateTime.Now.ToShortDateString(), DateTime.Now.ToShortTimeString())
  End Sub
End Class