Click or drag to resize

PFDateTimeExtensions Class

DateTime utilities using Packflow translations.
Inheritance Hierarchy
SystemObject
  Packflow.InterfacePFDateTimeExtensions

Namespace:  Packflow.Interface
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
public static class PFDateTimeExtensions
Methods
  NameDescription
Public methodStatic memberGetNaturalDate(DateTime, PFTranslations)
Expresses the time difference between the given DateTime and the current time in a user-friendly translated text. E.g. "9 weeks ago".
Public methodStatic memberGetNaturalDate(DateTimeOffset, PFTranslations)
Expresses the time difference between the given DateTimeOffset and the current time in a user-friendly translated text. E.g. "9 weeks ago".
Public methodStatic memberGetNaturalDate(DateTime, PFTranslations, RelativeTimeResolution)
Expresses the time difference between the given DateTime and the current time in a user-friendly translated text. E.g. "9 weeks ago".
Public methodStatic memberGetNaturalDate(DateTimeOffset, PFTranslations, RelativeTimeResolution)
Expresses the time difference between the given DateTimeOffset and the current time in a user-friendly translated text. E.g. "9 weeks ago".
Top
See Also