SharpSchedule

FieldConverter.GetDateTime Method (DateTime)

Safely convert a date time database value to a c# data value.

[Visual Basic]
Overloads Public Shared Function GetDateTime( _
   ByVal dateTime As Date _
) As Object
[C#]
public static object GetDateTime(
   DateTime dateTime
);

Parameters

dateTime
The date time to be converted.

Return Value

null
if the date time is a min or max value, otherwise returns the date time value.

See Also

FieldConverter Class | Ozanam.Schedule.Store.Database.Util Namespace | FieldConverter.GetDateTime Overload List