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

Home » Public Forums » archive » Re: converting string to integer
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: converting string to integer [message #25334] Wed, 06 June 2001 14:41
m.hadfield is currently offline  m.hadfield
Messages: 36
Registered: April 2001
Member
From: "Reimar Bauer" <r.bauer@fz-juelich.de>
> Dominik Paul wrote:
>> does somebody know, how to convert a string to a number, in my case, I
would
>> like to convert the string with the date given back from date_string =
>> SYSTIME(0) convert into numbers.
>
> why not using systime(1) ?

Or systime(/JULIAN) if you want a Julian date.

If you want to convert general date-time strings into numeric date-time
values, then there are various options, one of which is to use a READS
statement with IDL's calendar-format specifiers. But why don't you tell us
exactly what you want to do.

---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield
National Institute for Water and Atmospheric Research




--
Posted from clam.niwa.cri.nz [202.36.29.1]
via Mailgate.ORG Server - http://www.Mailgate.ORG
Re: converting string to integer [message #25344 is a reply to message #25334] Wed, 06 June 2001 04:37 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Dominik Paul wrote:
>
> Hi There,
>
> does somebody know, how to convert a string to a number, in my case, I would
> like to convert the string with the date given back from date_string =
> SYSTIME(0) convert into numbers.

why not using systime(1) ?

regards
Reimar

> Otherwise I would write a small function.
>
> Thanks
>
> Dom
> --
> ====================================
> Dominik Paul
> Uniklinik Freiburg
> Abt. Nuklearmedizin/PET
> ====================================

--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
=============================================
a IDL library at ForschungsZentrum J�lich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Specific cross platform IDL problem...
Next Topic: IDL & FORTRAN problems

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

Current Time: Wed Oct 08 18:36:35 PDT 2025

Total time taken to generate the page: 0.00613 seconds