Page 1 of 1

Conversion of String Date to Number

Posted: Tue Apr 19, 2011 2:31 pm
by jim wood
Guys,

Am I going daft? does TIMVL only work on time numeric values? How would I go about converting 28-01-2011 (DD-MM-YYYY) in to a numeric value?

Thanks in advance,

Jim.

Re: Conversion of String Date to Number

Posted: Tue Apr 19, 2011 2:37 pm
by Mike Cowie
Hi Jim:

You looking for DAYNO?

http://publib.boulder.ibm.com/infocente ... dayno.html

Slightly different format needed for the date string, but that should get you from a date string to a TM1 numeric date.

Regards,
Mike

Re: Conversion of String Date to Number

Posted: Tue Apr 19, 2011 2:40 pm
by jim wood
After posting I found it. Always the way. I'll get my coat and call a cab..........