Time functions in strategy tester

 
If I use time functions in my EA will they function properly in the strategy tester?  For example, if I use the Time[i] function to detect when a new bar appears will that work in the tester?
 
Time[i] is modelled as it is called and that means it is the open time of the bar at index i even of the strategy tester. TimeCurrent() is modelled as well.
Reason: