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

Home » Public Forums » archive » Re: Getting current time
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
Re: Getting current time [message #4523] Tue, 13 June 1995 00:00
knipp is currently offline  knipp
Messages: 68
Registered: January 1993
Member
In article 2pl6@yuma.ACNS.ColoState.EDU, dean@phobos.cira.colostate.edu writes:
>
> Is there a way to get the current time year/Month/day/hour/minute with
> IDL 4.0 running on a Window NT machine?
>
> Kelly


Does SYSTIME no longer work under IDL 4.0? (It does at least with IDL 3.0
on a Windows NT, with IDL 3.6 under SunOS 4.1):

Idl_s2: time = systime(0)
Idl_s2: print,time
Tue Jun 13 13:10:05 1995
Idl_s2: day = strmid(time,0,3) & print, day
Tue
Idl_s2: month=strmid(time,4,3) & print,month
Jun
Idl_s2: dayn=strmid(time,8,2) & print,month
Jun
Idl_s2: hour=strmid(time,11,2) & print,month
Jun
Idl_s2: hour=strmid(time,11,2) & print,hour
13
Idl_s2: min=strmid(time,14,2) & print,min
10
Idl_s2: sec=strmid(time,17,2) & print,min
10
Idl_s2: sec=strmid(time,17,2) & print,sec
05
Idl_s2: year=strmid(time,20,4) & print,year
1995


Karl

Karlheinz Knipp knipp@ipi.uni-hannover.de
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problem with SVDFIT?
Next Topic: Re: How to make GIF file (2) ?

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

Current Time: Wed Oct 08 20:03:31 PDT 2025

Total time taken to generate the page: 0.00515 seconds