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

catching the system time / date-time stamp



PureBytes Links

Trading Reference Links

Hello all,

How do I obtain system time from the operating system?  

I am using TS2k Pro Suite and trading EOD bars.  EOD data does NOT have HH:MM info, just date.

In detail: I would like to pull the the real system time when a strategy executes lastBarOnChart.  This time is independent of the date contained in the data--viz., I could run the strategy on Saturday morning while the last bar's date references Friday's close.  And I do need that run time, here, the Saturday morning date-time stamp.

Any suggestions?

Thank you,
Leslie