Formats the DateTime value to string so it can be parsed using new Date() in JavaScript.
Namespace:
DayPilot.UtilsAssembly: 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