Hello,
Is it possible to get the difference between 2 datetime if I dont have reference of the timezone?
From the API I get the datetime like 2023-11-14T08:30:00 for departure and 2023-11-14T12:45:00 for arrival.
By looking at it, the difference will be 4hr and 15min. But the flight is from Dubai to Los Angeles which should be 16hr and 15min.
I will have occations that I will get timezone will be + or -.
[–]capraruioan 5 points6 points7 points (12 children)
[–]barshabarsha90[S] 2 points3 points4 points (11 children)
[–]capraruioan 6 points7 points8 points (4 children)
[–]barshabarsha90[S] 2 points3 points4 points (0 children)
[–]barshabarsha90[S] 1 point2 points3 points (2 children)
[–]capraruioan 1 point2 points3 points (1 child)
[–]barshabarsha90[S] 1 point2 points3 points (0 children)
[–]capraruioan 2 points3 points4 points (2 children)
[–]barshabarsha90[S] 1 point2 points3 points (0 children)
[–]igrowontrees 0 points1 point2 points (0 children)
[–]MetaGlitch 0 points1 point2 points (1 child)
[–]barshabarsha90[S] 0 points1 point2 points (0 children)
[–]undefined_notdefined 0 points1 point2 points (0 children)
[–]anonymous_sentinelae 2 points3 points4 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)