DateTime? GetDateTime(DateTime? defaultValue = null)

Get the current value as a DateTime.

Parameters

Name Description
defaultValue The default value to use if the value is not a DateTime.

Return

The value as a DateTime.