Method ToMillisecondsSinceEpoch
ToMillisecondsSinceEpoch(DateTime)
Converts a DateTime to number of milliseconds since Unix epoch.
public static long ToMillisecondsSinceEpoch(DateTime dateTime)
Parameters
dateTime
DateTimeA DateTime.
Returns
- long
Number of milliseconds since Unix epoch.