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: 8.1.3443.0 (8.1.3443.0)

Syntax

C#
public static string FormatDateTime(
	DateTime dt
)
Visual Basic
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