WebBaseEvent.EventTimeUtc Property

 

Gets the time when the event was raised.

Namespace:   System.Web.Management
Assembly:  System.Web (in System.Web.dll)

Public ReadOnly Property EventTimeUtc As Date

Property Value

Type: System.DateTime

The time of the event in Coordinated Universal Time (UTC) format.

The following code example shows how to get the EventTimeUtc value.

' Gets the event time.
Public Function GetEventTimeUtc() As DateTime
    ' Get the event source.
    Dim eTime As DateTime = EventTimeUtc
    Return eTime

End Function 'GetEventTimeUtc

.NET Framework
Available since 2.0
Return to top
Show: