PureBytes Links
Trading Reference Links
|
Hi,
> Does anyone have (.ela or .els) code to convert 1000101 format to
> 20000101 ?- I'm trying to export a date file and must have the
> conventional date format to import the file into other software.
> Thanks in advance.
> Steve
The attached function is the one I use to format a date for
writing to Trade station ASCII files.
Could someone here please let me know what the policy is
regarding posting large files (i.e. a .dll or .exe) to this
group. If no one tells me otherwise I'll assume it ok to do.
regards,
tbr{
Copyright 2000 Terry B. Rhodes
Permission given to modify and/or redistribute the materials and logic
contained herein on a non-commercial basis with the copyright intact.
}
Inputs: NumericDate(numeric);
Variables: S("");
S = ELDateToString(NumericDate);
ELDate2SFDate = midstr(S,7,4) + midstr(S,1,2) + midstr(S,4,2);
|