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

Converts a DateTime to a string containing the Utc Unix Timestamp. If the date equals DateTime.MinValue, returns an empty string.

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

Syntax

   
 C# 
public static string ToUnixTimeString(
	this DateTime date
)

Parameters

date
DateTime

[Missing <param name="date"/> documentation for "M:fCraft.DateTimeUtil.ToUnixTimeString(System.DateTime)"]

Return Value

[Missing <returns> documentation for "M:fCraft.DateTimeUtil.ToUnixTimeString(System.DateTime)"]

Usage Note

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

See Also