Interface ITimeSource
Denotes app-global time source - an entity that supplies time in this application instance
Inherited Members
Namespace: Azos.Time
Assembly: Azos.dll
Syntax
public interface ITimeSource : IApplicationComponent, ILocalizedTimeProvider
Properties
Now
Returns local time stamp, Alias to this.LocalizedTime
Declaration
DateTime Now { get; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
UTCNow
Returns current UTC time stamp
Declaration
DateTime UTCNow { get; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |