adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / DateTimeHandling Class / Now Property

In This Topic
    Now Property
    In This Topic
    Gets the current date/time
    Syntax
    'Declaration
     
    
    Public Shared ReadOnly Property Now As DateTimeOffset
    public static DateTimeOffset Now {get;}
    Remarks
    This method is used throughout the code rather than a direct call to DateTimeOffset.Now or DateTime.Now so that the time and/or timezone can be changed for testing.
    See Also