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

Tries to create a DateTime from a string containing a Utc Unix Timestamp. If the string was empty, returns false and does not affect result.

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

Syntax

   
 C# 
public static bool ToDateTime(
	this string str,
	ref DateTime result
)

Parameters

str
String

[Missing <param name="str"/> documentation for "M:fCraft.DateTimeUtil.ToDateTime(System.String,System.DateTime@)"]

result
DateTime%

[Missing <param name="result"/> documentation for "M:fCraft.DateTimeUtil.ToDateTime(System.String,System.DateTime@)"]

Return Value

[Missing <returns> documentation for "M:fCraft.DateTimeUtil.ToDateTime(System.String,System.DateTime@)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter.

See Also