Interface ITimeSource
Denotes app-global time source - an entity that supplies time in this application instance
Inherited Members
System.IDisposable.Dispose()
Namespace: NFX.Time
Assembly: NFX.dll
Syntax
public interface ITimeSource : IApplicationComponent, IDisposable, 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 |