>I'm trying to return a string from a julian date. The help says:
>"SYS(10) returns a Character-type date from a Julian day number"
>If I ?SYS(10,2451458) in the command window, I get: 10/06/99. If I ?TYPE(SYS(10,2451458)), I get a N.
>Does anyone know what's going on here?
>
>TIA
Try lcdate = SYS(10, 2451458), then ? TYPE('lcdate'), you'll get a C. The problem is that TYPE() requires the variable in quotes. With VARTYPE() pass the variable.
George
Ubi caritas et amor, deus ibi est