Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Nick Thissen
on
For in-sim time we provide both the starting time and current (live) time. Starting time is available via the session options (it does not change), while live time is available from the telemetry object (it changes every update):
var startTime = sim.Session.Options.StartDateTime;
var startHour = startTime.Hour;

var currentTime = sim.Telemetry.LiveDateTime;
var currentHour = currentTime.Hour;