Amigos..
I'm having some trouble with a date time expression.
I'm looking to get the date/time back as 12345.1234
Here is an example of what I'm trying to do....
= ADIR(laFilesInDir, '*.jbf')
*
FOR x = 1 TO ALEN(laFilesInDir)/5
z = [({^] + DTOC(laFilesInDir(1,3))+ [t] + laFilesInDir(1,4) + [})]
vardt = EVALUATE(z)
x=(TTOD(vardt)-{12/30/1899})+HOUR(vardt)/24+MINUTE (vardt)/24/60+SEC(vardt)/24/60/60
?x
ENDFOR
*---------------------
vardt = EVALUATE(z) is containing illegal characters.
This is VFP70 and I think case sensitivity of "t" might be an issue.
Any ideas how I need to assemble and EVAL my expression?
TIA - Wayne
...all this and tap dancing too!
I'm having some trouble with a date time expression.
I'm looking to get the date/time back as 12345.1234
Here is an example of what I'm trying to do....
= ADIR(laFilesInDir, '*.jbf')
*
FOR x = 1 TO ALEN(laFilesInDir)/5
z = [({^] + DTOC(laFilesInDir(1,3))+ [t] + laFilesInDir(1,4) + [})]
vardt = EVALUATE(z)
x=(TTOD(vardt)-{12/30/1899})+HOUR(vardt)/24+MINUTE (vardt)/24/60+SEC(vardt)/24/60/60
?x
ENDFOR
*---------------------
vardt = EVALUATE(z) is containing illegal characters.
This is VFP70 and I think case sensitivity of "t" might be an issue.
Any ideas how I need to assemble and EVAL my expression?
TIA - Wayne
