Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

DefaultDateTimeProvider

Describes the default date time provider.

Description

The default date time provider. This provider should not be used directly because it is a specific implementation. Instead, use DateTimeProvider.Current to retrieve the currently configured DateTimeProvider.

Properties

Now

The now.

DateTimeOffset Now => DateTimeOffset.Now