CurrentTimeUTC Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the current UTC system time.
Namespace: Microsoft.SPOT.Time
Assembly: Microsoft.SPOT.Time (in Microsoft.SPOT.Time.dll)
Syntax
'Declaration
Public ReadOnly Property CurrentTimeUTC As DateTime
public DateTime CurrentTimeUTC { get; }
public:
property DateTime CurrentTimeUTC {
DateTime get ();
}
member CurrentTimeUTC : DateTime with get
function get CurrentTimeUTC () : DateTime
Property Value
Type: System. . :: . .DateTime
The current UTC system time.
Remarks
This method enables getting the updated UTC time after an SNTP sync, without requiring an additional method call.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.