|
Lean
$LEAN_TAG$
|
Live charting is sensitive to timezone so need to convert the local system time to a UTC and display in browser as UTC. More...
Public Member Functions | |
| DateTimeWithZone (DateTime dateTime, TimeZoneInfo timeZone) | |
| Initializes a new instance of the QuantConnect.Time.DateTimeWithZone struct. More... | |
Properties | |
| DateTime | UniversalTime [get] |
| Gets the universal time. More... | |
| TimeZoneInfo | TimeZone [get] |
| Gets the time zone. More... | |
| DateTime | LocalTime [get] |
| Gets the local time. More... | |
Live charting is sensitive to timezone so need to convert the local system time to a UTC and display in browser as UTC.
| QuantConnect.Time.DateTimeWithZone.DateTimeWithZone | ( | DateTime | dateTime, |
| TimeZoneInfo | timeZone | ||
| ) |
Initializes a new instance of the QuantConnect.Time.DateTimeWithZone struct.
| dateTime | Date time. |
| timeZone | Time zone. |
|
get |
|
get |
|
get |