Class TimeUtils
Static class for time related functionality for NG9-1-1.
Inherited Members
Namespace: Ng911Lib.Utilities
Assembly: Ng911Lib.dll
Syntax
public static class TimeUtils
Methods
| Edit this page View SourceDateTimeToNenaTimeStamp(DateTime)
Converts a DateTime to a strung using the NENA Timestamp format specified in Section 2.3 Timestamp of NENA-STA-010.3.
Declaration
public static string DateTimeToNenaTimeStamp(DateTime Dt)
Parameters
Type | Name | Description |
---|---|---|
DateTime | Dt |
Returns
Type | Description |
---|---|
string | Returns the NENA formatted Timestamp |
GetCurrentNenaTimestamp()
Gets the current time using the NENA Timestamp format specified in Section 2.3 Timestamp of NENA-STA-010.3.
Declaration
public static string GetCurrentNenaTimestamp()
Returns
Type | Description |
---|---|
string | Returns the NENA formatted Timestamp |