Re: calc difference in times in different time zones

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Brian Tillman (tillman1952_at_yahoo.com)
Date: 05/26/04


Date: Wed, 26 May 2004 15:07:38 -0400

Steve <anonymous@discussions.microsoft.com> wrote:

> Is there a way to calculate (subtract) times in different time zones?
> eg leave baltimore @ 10:35, arrive Dallas @ 13:05 and yeild a time of
> 3:30

Sure. One way is to convert the times to UTC and subtract.

-- 
Brian Tillman


Relevant Pages

  • Re: Date calculations
    ... >:subtract x number of days from it. ... Roedy would likely point out, this isn't a good solution for certain ... Steve W. Jackson ...
    (comp.lang.java.help)
  • Re: Dates
    ... manipulation), but you need to stipulate that your input time is UTC ... To simply subtract eight hours: ... See the docs for other formatting options. ...
    (perl.beginners)
  • Re: time conversion question
    ... > when in comes to converting the date. ... > In the METAR data is the time of the last observartion given ... > is the hour and mm is the minute, all values in UTC. ... subtract one from the year and set the month to 12. ...
    (comp.lang.tcl)
  • Re: date and time in matlab
    ... and subtract eps() of that result. ... this simple algorithm will fail for leap seconds if the ... time is expressed in UTC, as "the last time just before it becomes ...
    (comp.soft-sys.matlab)
  • date command time correction
    ... My unix machine provides the date in UTC. ... besides formatting I need to subtract 6 hours. ...
    (comp.unix.questions)