Click or drag to resize

DataConverterToModel Method (TS)

Converts a TS instance to a DateTime instance.

Namespace:  SanteDB.Messaging.HL7
Assembly:  SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 2.2.1
Syntax
public static DateTime? ToModel(
	this TS timestamp
)

Parameters

timestamp
Type: TS
The TS instance to be converted.

Return Value

Type: NullableDateTime
Returns the converted date time instance or null.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TS. 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