Formats the DateTime value to string so it can be parsed using new Date() in JavaScript.

Namespace:  DayPilot.Utils
Assembly:  DayPilot (in DayPilot.dll) Version: 5.8.1956.0 (5.8.1956.0)

Syntax

C#
public static string FormatDateTime(
	DateTime dt
)
Visual Basic (Declaration)
Public Shared Function FormatDateTime ( _
	dt As DateTime _
) As String
Visual C++
public:
static String^ FormatDateTime(
	DateTime dt
)

Parameters

dt
Type: System..::.DateTime

Return Value

See Also