[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Date Functions



PureBytes Links

Trading Reference Links

Hello Mark,
	Thanks for the suggestion, but it that only works for data after
the year 2000. My initial effort was: NumtoStr((Date+19000000),0). It
works, but it takes TS forever to create the output file, about 25
seconds on the Australian $ eod. I was wondering if there was a faster
solution, probably not. I'm running 2.5g processor, 512mb memory.
Thanks,
Trey

-----Original Message-----
From: Mark Brown [mailto:markbrown@xxxxxxxxxxxxx] 
Sent: Friday, September 19, 2003 9:12 AM
To: omega-list@xxxxxxxxxx; Trey Johnson
Subject: Re: Date Functions

Hello Trey,

Friday, September 19, 2003, 7:32:48 AM, you wrote:

TJ> Hello All,
TJ>         I'm trying to export data in ascii format and I need the
date to
TJ> be in YYYYMMDD format. TS2000 has a function to export in YYYYDDMM.
Does
TJ> anyone know of a simple work around?


 rightstr("      "+numtostr(d,0),6)  this gives you 030919 you could

 untested +"20"+rightstr("      "+numtostr(d,0),6) might give you
 20030919







-- 
Thank You,
Mark Brown 
www.markbrown.com