Re: converting string to integer [message #25334] |
Wed, 06 June 2001 14:41 |
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
|
|
|
|