IniFile: GetDateTime |
Returns a CorDateTime value from the specified key in the specified section of an INI file.
Public Function GetDateTime( ByRef Section As String, ByRef Key As String, Optional ByVal Default As CorDateTime ) As CorDateTime
An INI file contains all values as strings. The value is converted back into a CorDateTime using the CorDateTime.TryParse function. If an error occurs, then the default is returned.
Passing in Nothing as the default will return CorDateTime.MinValue.