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

Converts the DateTime value to its UnixDateTime equivalent.

Namespace:  Facebook
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.4.13 (0.2009.4.13)

Syntax

C#
public static UnixDateTime ToUnixDateTime(
	this DateTime dateTime
)
Visual Basic (Declaration)
<ExtensionAttribute> _
Public Shared Function ToUnixDateTime ( _
	dateTime As DateTime _
) As UnixDateTime
Visual C++
[ExtensionAttribute]
public:
static UnixDateTime ToUnixDateTime(
	DateTime dateTime
)

Parameters

dateTime
Type: System..::.DateTime
A DateTime value that will converted to a Unix timestamp.

Return Value

A UnixDateTime value that is the equivalent of the DateTime value specified in the dateTime parameter.

See Also

DateTimeExtensions Class
Facebook Namespace