Changed timestamp from float to long as per issue raised by gpdawson