Share via


ChatMessage.LocalTimestamp Property

Definition

Gets the local timestamp of the message.

public:
 property DateTime LocalTimestamp { DateTime get(); void set(DateTime value); };
DateTime LocalTimestamp();

void LocalTimestamp(DateTime value);
public System.DateTimeOffset LocalTimestamp { get; set; }
var dateTime = chatMessage.localTimestamp;
chatMessage.localTimestamp = dateTime;
Public Property LocalTimestamp As DateTimeOffset

Property Value

The local timestamp of the message.

Windows requirements

App capabilities
chat chatSystem smsSend

Remarks

The value for LocalTimestamp is the local time of the device.

Applies to