Well, it is a bit clearer, but not completely

. But maybe that (that I don't get it) is not a problem at all.

I guess you are trying to do this (capture tick to csv) with an automated strategy, right?
In that case, take a look on
this.
You could specify a filter in the onTick() method, based on tick.getTime(), and only allow the strategy to save tick to the .csv file if the tick's time is matching your criteria (14:00, 14:30, 15:00 etc. for a 10 hour period).
In the given example the timestamp of a tick is in the format of 'yyyy-MM-dd HH:mm:ss'. This is the first column of the .csv file. You can also modify this to a format that Excel 'prefers'. Just take a look for possibilities
here.
I hope this helps, and you are not aware of these already. If not, just post again.