SPRelativeDateTime members

The SPRelativeDateTime type exposes the following members.

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public methodStatic member GetRelativeDateString Returns a relative datetime given the current time and a time in the past.
Public methodStatic member GetRelativeDateTimeJavaScriptString Gets a string representing the relative value of a DateTime. The string should be parsed by the javascript method GetRelativeDateTimeString().
Public method GetType (Inherited from Object.)
Public methodStatic member isFriendlyDateTimeEnabled Checks to see if a field is configured to render in a friendly relative datetime format
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPRelativeDateTime class

Microsoft.SharePoint.Utilities namespace