C# Class Pushover.Extensions.DateTimeExtensions

Show file Open project: mattmelling/pushover-dotnet

Public Methods

Method Description
ToEpoch ( this date ) : System.Int64

Convert a date time to Unix epoch date

Method Details

ToEpoch() public static method

Convert a date time to Unix epoch date
public static ToEpoch ( this date ) : System.Int64
date this
return System.Int64