Table of Contents

Class DateUtils

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains static methods related to DateTime.

public static class DateUtils
Inheritance
DateUtils

Properties

DateFormatJs

Gets DateTime format used in Javascript or in other situations.

Methods

GetAbsDistanceWithNow(long)

Subtracts Now with the specified timestamp and gets absolute value of the result.

GetNowInMilliseconds()

Gets current time in milliseconds.

GetNowInUnixMilliseconds()

Gets current time in milliseconds using ToUnixTimeMilliseconds().