Home > Working with SGWorld > DateTime (IDateTime6) > Current
Returns or sets the currently used global date and time. 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 |
|
Current |
C# |
|
dynamic Current { get; set; } |
C++ |
|
HRESULT Current([out, retval] VARIANT* pVal) HRESULT Current([in] VARIANT pVal) |