> Am Donnerstag, den 15.03.2007, 17:32 +0100 schrieb Daniel Berenguer:
> > Hi David, thanks for your reply.
> > 
> > I have in fact the inverse problem (not being really a problem). I want
> > users to enter local date/time into a text box without taking into
> > account whether they are in summer time or not. So, anyone could just
> > copy the time from any clock, even if it's been corrected by DST.
> > 
> > "date MMDDhhmm[[CC]YY][.ss]" accepts local time without DST correction.
> > For my timezone (CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00), Entering
> > this date: 03/26/07 15:00 will result into 03/26/07 16:00 just because
> > the system knows that we're in DST and the time correction must be done.
> > 
> > Thanks again,
> > 
> > Daniel.
> > 
> 
> you can use localtime() and related lib functions first to see if DST is
> in effect for a given date.
> 
> Regards,
> Erwin


Thanks Erwin, your advice has helped me a lot as I was beginning to
parse the TZ file...

Daniel.

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to