Click or drag to resize

ExtensionsGetServerTime Method

Get message server time.

Namespace:  StockSharp.Messages
Assembly:  StockSharp.Messages (in StockSharp.Messages.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static DateTimeOffset GetServerTime(
	this Message message
)

Parameters

message
Type: StockSharp.MessagesMessage
Message.

Return Value

Type: DateTimeOffset
Server time.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Message. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also