Class Extensions
public static class Extensions
- Inheritance
-
Extensions
- Inherited Members
Methods
ToUnixTimestamp(DateTime)
Converts a given DateTime into a Unix timestamp
public static int ToUnixTimestamp(this DateTime value)
Parameters
value
DateTimeAny DateTime
Returns
- int
The given DateTime in Unix timestamp format