Path: news.mathworks.com!newsfeed-00.mathworks.com!NNTP.WPI.EDU!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!not-for-mail
From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Newsgroups: comp.soft-sys.matlab
Subject: Re: daylight savings adjustment
Date: Wed, 1 Aug 2007 18:21:46 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 14
Message-ID: <f8qivq$dlm$1@canopus.cc.umanitoba.ca>
References: <f8qh9a$l69$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1185992506 14006 192.70.172.160 (1 Aug 2007 18:21:46 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Wed, 1 Aug 2007 18:21:46 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:422082



In article <f8qh9a$l69$1@fred.mathworks.com>,
Steve  <steveDEL.bachmeierDEL@yahoo.com> wrote:
>I have several years' worth of hourly data in Excel.  Times are given
>and they take into account daylight saving.  How can I locate all of
>the time data that is affected by daylight saving (as of 2007, it
>starts at 2:00 AM on the second Sunday in March and ends at 2:00 AM on
>the first Sunday in November) and subtract one hour from the values?

How are the times encoded?

datenum and datevec might be of assistance.
-- 
  "law -- it's a commodity"
                         -- Andrew Ryan (The Globe and Mail, 2005/11/26)