Show / Hide Table of Contents

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 Source

TrimMilliseconds(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
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX