FixedLocalTime

Returns or sets a fixed time at the viewer position. The time slider is set to this time and sunlight on the terrain corresponds to the position of the sun at this time on the current date. The value can be any of the following:

§   Javascript DateTime object

§   VT_DATE
Note: DateTime (e.g. in JavaScript) is automatically converted to VT_DATE.

§   _time_t
Int or long values representing the number of seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal Time.

§   double
double values representing the number of milliseconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal Time.

§   C# DateTime object

 

JavaScript

 

FixedLocalTime

 

C#

 

dynamic FixedLocalTime { get; set; }

 

C++

 

HRESULT FixedLocalTime([out, retval] VARIANT* pVal)

HRESULT FixedLocalTime([in] VARIANT pVal)