Method | Description | |
---|---|---|
ToNaturalRelativeTime ( this date ) : string |
Renders the given date as a natural language string, appending the "ago" suffix like "10 minutes ago".
|
|
ToNaturalTime ( this date ) : string |
Renders the given date as a natural language string, like "10 minutes".
|
Method | Description | |
---|---|---|
ToNaturalString ( this date, bool prependAgo ) : string |
public static ToNaturalRelativeTime ( this date ) : string | ||
date | this | The date to convert. |
return | string |
public static ToNaturalTime ( this date ) : string | ||
date | this | The date to convert. |
return | string |