![]() | TimeUtils Class |
Namespace: Koden.Utils
The TimeUtils type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | DateTimeFromDateAndTime(DateTime, String) |
Creates a DateTime Value from a DateTime date and a string time value.
|
![]() ![]() | DateTimeFromDateAndTime(String, String) |
Creates a DateTime value from date and time input values
|
![]() ![]() | FractionalHoursToString(Decimal) |
Converts a fractional hour value like 1.25 to 1:15 hours:minutes format
|
![]() ![]() | FractionalHoursToString(Decimal, String) |
Converts a fractional hour value like 1.25 to 1:15 hours:minutes format
|
![]() ![]() | FriendlyDateString |
Displays a date in friendly format.
|
![]() ![]() | FriendlyElapsedTimeString(Int32) |
Displays a number of milliseconds as friendly seconds, hours, minutes
Pass -1 to get a blank date.
|
![]() ![]() | FriendlyElapsedTimeString(TimeSpan) |
Displays the elapsed time friendly seconds, hours, minutes
|
![]() ![]() | MimeDateTime |
Converts the passed date time value to Mime formatted time string
|
![]() ![]() | RoundDateToMinuteInterval(DateTime, Int32, RoundingDirection) |
Rounds a date value to a given minute interval
|
![]() ![]() | RoundDateToMinuteInterval(Decimal, Int32, RoundingDirection) |
Rounds an hours value to a minute interval
0 means no rounding
|
![]() ![]() | ShortDateString(DateTime, Boolean) |
Returns a short date time string
|
![]() ![]() | ShortDateString(NullableDateTime, Boolean) |
Returns a short date time string
|
Name | Description | |
---|---|---|
![]() ![]() | MIN_DATE_VALUE |
The minimum date value
|