Class DateTimeHelper
Helper methods for managing and dealing with DateTime
Inheritance
System.Object
DateTimeHelper
Namespace: AdrianMiasik.Components.Core.Helpers
Assembly: Assembly-CSharp.dll
Syntax
public static class DateTimeHelper
Methods
| Improve this Doc View SourceTrimMilliseconds(DateTime)
Extension method that removes the milliseconds from the DateTime in question.
Declaration
public static DateTime TrimMilliseconds(this DateTime dateTime)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | dateTime |
Returns
Type | Description |
---|---|
System.DateTime |