Class DateTimeExtensions
DateTimeExtensions
Inherited Members
Namespace: Akka.Util.Extensions
Assembly: Akka.dll
Syntax
public static class DateTimeExtensions
Methods
| Improve this Doc View SourceToTimestamp(DateTime)
Converts given date and time to UNIX Timestamp - number of milliseconds elapsed since 1 Jan 1970
Declaration
public static long ToTimestamp(this DateTime dateTime)
Parameters
Type | Name | Description |
---|---|---|
DateTime | dateTime |
Returns
Type | Description |
---|---|
Int64 |