Re: Calc time difference between two date/time/zones



battles <battles@xxxxxxxxxxxxxx> wrote in news:c55d89ca-5419-4600-9c40-
b07a568e2763@xxxxxxxxxxxxxxxxxxxxxxxxxxx:

I have been searching and cannot find a way to determine the time
between two date/time/zones as shown below. Does anyone have a
routine that can do this easily without having to manually convert
everything to gmt? Thanks.

You picked two "simple" time zones. Will it always be those two? If not,
you're better off using a library routine to convert them to UTC for
arithemetic, as time zones can get very strange. Daylight Saving Time will
make it very complicated when you're near a DST transition.
.



Relevant Pages

  • Re: Calc time difference between two date/time/zones
    ... between two date/time/zones as shown below. ... routine that can do this easily without having to manually convert ... You picked two "simple" time zones. ... library routine that does this? ...
    (comp.lang.pascal.delphi.misc)
  • Re: Calc time difference between two date/time/zones
    ... routine that can do this easily without having to manually convert ... You picked two "simple" time zones. ... library routine that does this? ... Will datediff not handle this directly? ...
    (comp.lang.pascal.delphi.misc)
  • Re: Calc time difference between two date/time/zones
    ... between two date/time/zones as shown below. ... routine that can do this easily without having to manually convert ... library routine that does this? ... everything with DecodeTime and DecodeDate to seconds and then back to ...
    (comp.lang.pascal.delphi.misc)