Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Local Time at Destination

Featured Replies

Hello everybody, a while I posted my InFlightData gauge project problems. Well I hit another snag in that I am trying to calculate the local time at the destination airport with an active flight plan.I believe that my variable for this time at destination is using GMT time difference I think it just adds the time difference in the current plane position. Has anyone else tried to code this idea?For example i want the gauge to read as follows:Current time: 21:00 (working code, ok) (Melbourne, Australia)Time at destination: 19:00 (currently spitting out wrong values) (Perth, Australia)My snippet of code is shown below:

<Update id="Depart_Dest Times Calculations">			<script>(A:GPS IS ACTIVE FLIGHT PLAN, bool) if{ (E:LOCAL TIME, hours) (>L:CurrentLocalTimeHours, hours) (E:LOCAL TIME, minutes) flr 60 % (>L:CurrentLocalTimeMinutes, minutes) (A:GPS FLIGHT PLAN WP Count, number) 1 - (>@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointTimeZoneDeviation, hours) (>L:TimeZoneDiffHours, hours) (@c:FlightPlanWaypointTimeZoneDeviation, minutes) (>L:TimeZoneDiffMinutes, minutes) (L:CurrentLocalTimeHours, hours) (L:TimeZoneDiffHours, hours) + (>L:TimeAtDestHours, hours) (L:CurrentLocalTimeMinutes, minutes) (L:TimeZoneDiffMinutes, minutes) flr 60 % + (>L:TimeAtDestMinutes, minutes) } </Script></Update>

Adrian

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.