[This is preliminary documentation and is subject to change.]

Tries to parse a data in a culture-specific ways. This method is, unfortunately, necessary because in versions 0.520-0.522, fCraft saved dates in a culture-specific format. This means that if the server's culture settings were changed, or if the PlayerDB and IPBanList files were moved between machines, all dates became unparseable.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.2.4 (0.6.2.4)

Syntax

   
 C# 
public static bool TryParseLocalDate(
	string dateString,
	out DateTime date
)

Parameters

dateString
String
String to parse.
date
DateTime%
Date to output.

Return Value

True if date string could be parsed and was not empty/MinValue.

See Also