Skip to end of metadata
Go to start of metadata

Provides a helper to process Unix time.

Definition

public static class UnixTimeConverter

Summary

The following table summarizes the members exposed in this class.

Static Methods

DateTimeToUnixTimestamp(DateTime) Converts a DateTime to a Unix timestamp

Static Methods

public static int DateTimeToUnixTimestamp(DateTime dateTime)

Converts a DateTime to a Unix timestamp

Parameters

dateTime The datetime.

Return Types

The unix timestamp.
  • No labels