This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Daylight saving time


>-----Original Message-----
>From: Will Wagner [mailto:will_wagner@carallon.com]
>Sent: Friday, March 3, 2006 07:44 AM
>To: 'eCos Discussion'
>Subject: [ECOS] Daylight saving time
>
>Hi All,
>
>I'm looking at getting our device to handle daylight saving time. The 
>eCos C library has some functions to help support this. However it is 
>missing any code that actually calculates when dst occurs.
>
>Was hoping that perhaps some kind person out there has done this already 
>and they'd be prepared to share there code. otherwise time to hunt down 
>code on google.....

Hi Will,

I wrote the code snippet in attach some time ago. Don't ask me how it works, it has been too long :-) It does (used to do) what you are looking for.

Hth

Bob


>
>Will
>-- 
>------------------------------------------------------------------------
>Will Wagner                                     will_wagner@carallon.com
>Senior Project Engineer                        Office Tel: 0207 371 2032
>Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
>------------------------------------------------------------------------
>
>
>-- 
>Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>

Attachment: tz.tar.gz
Description: Binary data

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]