Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.

 

Interface ICurrentTimeProvider

Interface for providing current time. For example: server's time, browser's local time

Namespace: EPiServer.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.dll
Version: 7.19.2
Syntax
public interface ICurrentTimeProvider

Methods

GetNow(HttpRequestBase)

Gets the current time.

Declaration
DateTime GetNow(HttpRequestBase request)
Parameters
Type Name Description
System.Web.HttpRequestBase request

Current http request.

Returns
Type Description
System.DateTime

Current time

Extension Methods