DateTimeExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
DateTime Extensions.
public ref class DateTimeExtensions abstract sealed
public static class DateTimeExtensions
type DateTimeExtensions = class
Public Module DateTimeExtensions
- Inheritance
-
DateTimeExtensions
Methods
GetRelativeTime(DateTime) |
Gets string literal for relative time from now since the DateTime provided. String output is in most appropriate "x time units ago" Example: If DateTime provided is 30 seconds before now, then result will be "30 seconds ago" |