Returns a FLOAT value.
IF you pass in …  THEN … 

iBegin and iEnd  the speed is calculated as the distance between the two points (along the LineString) divided by the time between them. 
index  if the point is:

The units used for distance are the same units that are used by the coordinate system for the GeoSequence value, and the time units are in hours.