comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Posix Time Functions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Posix Time Functions [message #17772] Wed, 10 November 1999 00:00 Go to next message
MindSpring User is currently offline  MindSpring User
Messages: 5
Registered: December 1998
Junior Member
I posted this a while a go but didn't hear anything so I thought I'd
take one more shot. Does anyone know of / have any POSIX time functions
for IDL? That is a function which takes seconds since Jan, 1 1970 and
returns a nice date structure (year, month, day,etc..). Such beasties
are plentiful in Java, C etc so I figure one should be in IDL also.

Thanks
--
Eric Kihn
ekihn@ngdc.noaa.gov
kihn@mindspring.com
Re: Posix Time Functions [message #17862 is a reply to message #17772] Sat, 13 November 1999 00:00 Go to previous message
Ben Tupper is currently offline  Ben Tupper
Messages: 186
Registered: August 1999
Senior Member
In article <MPG.1296941365eaab3b989965@news.frii.com>, davidf@dfanning.com
says...
>
> In an attempt to throw off the ol' codger label that
> somehow got attached to me in the past couple of weeks
> I've been working through some object examples, using
> the ideas JD and Struan and some of the other young
> bucks have been thrashing around.
>
> All I can say is, Wow!
>
> I've got that improved XWindow thing working like
> a champ--well, as long as you don't make any typos--
> error checking and documentation will be added this
> weekend if the weather would just turn bad. (We're
> still playing tennis with no shirts--in November--in
> Colorado. Scheesh. The snow birds are going nuts.)
>
> I mostly make singleton objects since I'm a scientist,
> rather than a computer programmer, and I don't know any
> better. I thought they were powerful. But some of
> this inheritance stuff is *wonderful*! I've got about
> 3-4 objects now that I can basically construct *any* kind
> of modal dialog out of. I have 4-5 compound widget
> objects that can put up and send you the answer for
> almost any kind of question (check box, radio button,
> essay, etc.). I mean, once you start down this path,
> you just feel younger and younger. :-)
>
> Cheers,
>

For those of us who are scientists and wear IDL diapers... how about getting
that book on objects going?

Ben Tupper
PemaqudRiver@tidewater.net
Re: Posix Time Functions [message #17865 is a reply to message #17772] Fri, 12 November 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Ben Tupper (Ben_member@newsguy.com) writes:

> It is according to the the IDL documentation. I don't know first hand of
> course... but maybe David has fond memories of the day when the Pope patched up
> the calendar.

Heh, heh.

In an attempt to throw off the ol' codger label that
somehow got attached to me in the past couple of weeks
I've been working through some object examples, using
the ideas JD and Struan and some of the other young
bucks have been thrashing around.

All I can say is, Wow!

I've got that improved XWindow thing working like
a champ--well, as long as you don't make any typos--
error checking and documentation will be added this
weekend if the weather would just turn bad. (We're
still playing tennis with no shirts--in November--in
Colorado. Scheesh. The snow birds are going nuts.)

I mostly make singleton objects since I'm a scientist,
rather than a computer programmer, and I don't know any
better. I thought they were powerful. But some of
this inheritance stuff is *wonderful*! I've got about
3-4 objects now that I can basically construct *any* kind
of modal dialog out of. I have 4-5 compound widget
objects that can put up and send you the answer for
almost any kind of question (check box, radio button,
essay, etc.). I mean, once you start down this path,
you just feel younger and younger. :-)

Cheers,

David

P.S. Thinking that the weather *might* turn colder
sometime before the millennium, I decided to grow a
beard for the first time in about 15 years. Bad idea.
My youngest has taken to calling me Gramps when I'm
out in public with him. Can't say I blame him.
Every time I look in the mirror these days I see
my father. I wouldn't have believed it was
possible. Wonder what he would make of objects? :-)

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Posix Time Functions [message #17866 is a reply to message #17772] Fri, 12 November 1999 00:00 Go to previous message
Ben Tupper is currently offline  Ben Tupper
Messages: 186
Registered: August 1999
Senior Member
In article <80ht4l$4kl@b0rv11.fnal.gov>, gcooper@b0rv11.fnal.gov says...
>
> In article <942358684.298839@clam-55>,
> Mark Hadfield <m.hadfield@niwa.cri.nz> wrote:
>> Ben Tupper <Ben_member@newsguy.com> wrote in message
>> news:80f3b3$2tm1@edrn.newsguy.com...
>>> ... I just happened to need something like this recently
>>> when working with instrument data. Each measurement was stamped with
>> Julian
>>> seconds elapsed since October 15, 1582.
>>
>> How do people come up with these strange time origins!
>
> Isn't this when the Gregorian calendar (i.e., the current one)
> was adopted?
>

It is according to the the IDL documentation. I don't know first hand of
course... but maybe David has fond memories of the day when the Pope patched up
the calendar.

Ben

P.S. Just kidding, David! You're could possibly be that old!

Ben Tupper
PemaquidRiver@tidewater.net
Re: Posix Time Functions [message #17872 is a reply to message #17772] Fri, 12 November 1999 00:00 Go to previous message
gcooper is currently offline  gcooper
Messages: 2
Registered: December 1995
Junior Member
In article <942358684.298839@clam-55>,
Mark Hadfield <m.hadfield@niwa.cri.nz> wrote:
> Ben Tupper <Ben_member@newsguy.com> wrote in message
> news:80f3b3$2tm1@edrn.newsguy.com...
>> ... I just happened to need something like this recently
>> when working with instrument data. Each measurement was stamped with
> Julian
>> seconds elapsed since October 15, 1582.
>
> How do people come up with these strange time origins!

Isn't this when the Gregorian calendar (i.e., the current one)
was adopted?

Glenn
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDLWAVE 3.7
Next Topic: keyboard shortcut question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:51:41 PDT 2025

Total time taken to generate the page: 0.00486 seconds