Sets a date and time. If this property is not set, the current local time will be used.


Namespace: AspMap
Assembly: AspMapNET (in AspMapNET.dll)

Syntax

Visual Basic (Declaration)
Public WriteOnly Property CurrentDate As Date
C#
public DateTime CurrentDate { set; }
C++
public property DateTime CurrentDate sealed  {
    void set(DateTime value);
}
J#
/** property */
public void set_CurrentDate(DateTime value);
JScript
public function set CurrentDate(value : DateTime);

Remarks

This property defines the date and time that will be used in route calculations if turn restrictions are enabled for the Route object and if the road network supports turn resrictions.
The Route class uses the day of week, hour and minute values from the DateTime object.

See Also