PureBytes Links
Trading Reference Links
|
i meant, resolution up to the second ( per given tick ) from any given time reference point
but midnight would be fine.
no dll.
anybody up to the challenge?
there is a number of functions that 7.1 i has:
secondsfromdatetime
stringtodatetime
computerdatetime
stringtodatetime
stringtotime
eldatetodatetime
eltimetodatetime
i can get time string or seconds from minute but tried
seconds since midnight or start of session and it does not work.
for example: SecondsFromDateTime(computerdatetime) works and gives you seconds
from current minute.
but SecondsFromDateTime(ELtimeToDateTime(sess1starttime))
verifies but does not work.
aslo i can get seconds per tick from
strtonum(leftstr(rightstr(timetostring(computerdatetime),5),2))
but can't seem to find a way to get seconds since midnight.
so, looks like a good exercise.
bilo.
----- Original Message -----
From: Bilo Selhi
To: Omega-List
Sent: Tuesday, July 01, 2003 4:19 PM
Subject: seconds since midnight in 7.1 ?
anybody know how to code?
bilo.
|