Can anyone tell me the exact definition of rawtime. It is seconds since Jan 1, 1970 00:00:00 - but it seems to be off by one hour and one minute. For example, during the 12:00 noon, 9/12/2003 one minute bar, rawTime returns 1063364460, which according to my calculation is 11:01, 9/12/2003.
I tried changing my timezone to see if it was based on a certain timezone, and the value did not change, so it is apparently based on local time.
I am passing the date/time of each bar to a DLL and I am trying to avoid having to pass year,month,day,hour,minute,second explicitly.
I tried changing my timezone to see if it was based on a certain timezone, and the value did not change, so it is apparently based on local time.
I am passing the date/time of each bar to a DLL and I am trying to avoid having to pass year,month,day,hour,minute,second explicitly.
Comment