JSHelperToDateScript Method |
Create a javascription expression for a date object.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string ToDateScript(
Nullable<DateTime> dt
)
Public Shared Function ToDateScript (
dt As Nullable(Of DateTime)
) As String
Parameters
- dt
- Type: SystemNullableDateTime
The, possibly null, date/time.
Return Value
Type:
StringJavascript expression creating a new javascript Date object for the specified date/time, or null.
See Also