Table of Contents

Method GetDateTimeFromData

Namespace
Skyline.DataMiner.Automation
Assembly
SLNetTypes.dll

GetDateTimeFromData(string, DateTime?)

Converts the specified value to a DateTime? or returns defaultValue if the conversion failed.

public static DateTime? GetDateTimeFromData(string value, DateTime? defaultValue)

Parameters

value string

The value to convert.

defaultValue DateTime?

The default value.

Returns

DateTime?

The converted DateTime? or the specified default value.