On 2008-07-18 10:12+0100 Andrew Ross wrote:
>
> On Thu, Jul 17, 2008 at 07:47:51PM -0700, Alan Irwin wrote:
>> [...]Thanks very much, Terrence, for that bit of history which is confirmed
>> in
>> the body of
>>
>> http://en.wikipedia.org/wiki/British_Summer_Time
>>
>> There just doesn't seem to b
On Thu, Jul 17, 2008 at 07:47:51PM -0700, Alan Irwin wrote:
> On 2008-07-18 01:22- [EMAIL PROTECTED] wrote:
>
> >Hi,
> >
> >
> >Alan W. Irwin wrote:
> >>On 2008-07-17 22:51+0100 Andrew Ross wrote:
> >>
> >>>Actually, while checking the various languages I found a problem with my
> >>>approach
On 2008-07-18 01:22- [EMAIL PROTECTED] wrote:
> Hi,
>
>
> Alan W. Irwin wrote:
>> On 2008-07-17 22:51+0100 Andrew Ross wrote:
>>
>>> Actually, while checking the various languages I found a problem with my
>>> approach. Obviously my linux system is missing daylight saving
>>> information for 1
Hi,
Alan W. Irwin wrote:
> On 2008-07-17 22:51+0100 Andrew Ross wrote:
>
>> Actually, while checking the various languages I found a problem with my
>> approach. Obviously my linux system is missing daylight saving
>> information for 1970. Calling
>>
>> t1 = 0;
>> tm = *gmtime(&t1);
>> t2 = mkti
On 2008-07-17 22:51+0100 Andrew Ross wrote:
> Actually, while checking the various languages I found a problem with my
> approach. Obviously my linux system is missing daylight saving
> information for 1970. Calling
>
> t1 = 0;
> tm = *gmtime(&t1);
> t2 = mktime(&tm);
> toff = (PLFLT) difftime(t1,
On Fri, Jul 11, 2008 at 08:18:39AM -0700, Alan Irwin wrote:
> On 2008-07-10 14:57-0700 Alan W. Irwin wrote:
>
> > Hi Andrew:
> >
> > Jerry's recent commit message for Ada example 29 inspired me to investigate
> > further, and indeed the fortran (and presumably the rest of the non-C)
> > examples
Could somebody with Windows access try example 29? That example only uses
POSIX compliant time functions like mktime and difftime, but I am not sure
whether the Windows C library provides those or not (or even supplies them
under a different name).
Hi Alan,
I looked into example
Werner Smekal wrote:
Hi,
Could somebody with Windows access try example 29? That example only uses
POSIX compliant time functions like mktime and difftime, but I am not sure
whether the Windows C library provides those or not (or even supplies them
under a different name).
example 2
Hi,
> Could somebody with Windows access try example 29? That example only uses
> POSIX compliant time functions like mktime and difftime, but I am not sure
> whether the Windows C library provides those or not (or even supplies them
> under a different name).
example 29 compiles nicely on Windo
Alan,
I spent some time looking for a nice portable solution and failed to
find one. This was the best I could come up with. I'm glad you've
independently come to the same conclusion. I will add checking the java
and octave versions of example 29 to my to-do list.
Andrew
On Fri, Jul 11, 2008
On 2008-07-10 14:57-0700 Alan W. Irwin wrote:
> Hi Andrew:
>
> Jerry's recent commit message for Ada example 29 inspired me to investigate
> further, and indeed the fortran (and presumably the rest of the non-C)
> examples are an hour out compared to the C example.
>
> For example, in python
>
> c
BTW, 1_133_395_200.0 is the number of seconds since January 1, 1970.
Not sure why the comment in the C code for example 29 mentions 1900.
Jerry
On Jul 10, 2008, at 2:57 PM, Alan W. Irwin wrote:
> Hi Andrew:
>
> Jerry's recent commit message for Ada example 29 inspired me to
> investigate
> fu
Hi Andrew:
Jerry's recent commit message for Ada example 29 inspired me to investigate
further, and indeed the fortran (and presumably the rest of the non-C)
examples are an hour out compared to the C example.
For example, in python
calendar.timegm((2005,12,1,0,0,0))
returns
1133395200
which
13 matches
Mail list logo