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

Home » Public Forums » archive » date/time generation
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
date/time generation [message #94007] Mon, 19 December 2016 20:33 Go to next message
gunvicsin11 is currently offline  gunvicsin11
Messages: 93
Registered: November 2012
Member
Hi all,
I need to generate universal time in this range 2014-02-14T10:36:25 to 2014-02-14T11:03:59. I know the intervals at which I need the UT.

Can anybody let me know how to do this.

thanks
Re: date/time generation [message #94008 is a reply to message #94007] Tue, 20 December 2016 02:28 Go to previous messageGo to next message
Markus Schmassmann is currently offline  Markus Schmassmann
Messages: 129
Registered: April 2016
Senior Member
On 12/20/2016 05:33 AM, sid wrote:
> I need to generate universal time in this range 2014-02-14T10:36:25
> to 2014-02-14T11:03:59. I know the intervals at which I need the UT.
>
> Can anybody let me know how to do this.
look up these functions:

http://www.harrisgeospatial.com/docs/JULDAY.html
http://www.harrisgeospatial.com/docs/caldat.html

If you are using the Gregorian calendar and do not limit yourself to
1900-03-01 to 2100-02-28 have to use greg2jul & jul2greg too.

Markus
Re: date/time generation [message #94013 is a reply to message #94007] Tue, 20 December 2016 14:01 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
Sounds like timegen might be useful to generate the array with the times:

http://www.harrisgeospatial.com/docs/timegen.html

Depending on the format you need the times in, caldat and/or systime might be useful to convert the results.

http://www.harrisgeospatial.com/docs/systime.html


On Monday, December 19, 2016 at 8:33:03 PM UTC-8, sid wrote:
> Hi all,
> I need to generate universal time in this range 2014-02-14T10:36:25 to 2014-02-14T11:03:59. I know the intervals at which I need the UT.
>
> Can anybody let me know how to do this.
>
> thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL Bridge
Next Topic: Convert 8 byte array to double

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

Current Time: Wed Oct 08 09:15:07 PDT 2025

Total time taken to generate the page: 0.00551 seconds