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

DefaultDateTimeProvider

Describes DefaultDateTimeProvider in Optimizely Configured Commerce.

DateTimeOffset Now => DateTimeOffset.Now

The now.

Properties

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.