PFDateTimeExtensions Class |
Namespace: Packflow.Interface
public static class PFDateTimeExtensions
Name | Description | |
---|---|---|
GetNaturalDate(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".
| |
GetNaturalDate(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".
| |
GetNaturalDate(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".
| |
GetNaturalDate(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".
|