A fluid pressure cylinder comprising a piston and a fluid pressure cylinder movement time sensor , the fluid pressure cylinder movement time sensor comprising a single magnetic sensor configured to detect a magnetic flux density of a magnet mounted on the piston , the fluid pressure cylinder movement time sensor being configured to measure a time required for the piston to move by a predetermined stroke, wherein: the magnet is arranged so that a direction of magnetization thereof coincides with a direction of movement of the piston , and the magnetic sensor is configured to detect the magnetic flux density in a direction perpendicular to the direction of movement of the piston ; and the fluid pressure cylinder movement time sensor is configured to monitor a relationship between a position of the magnet along the direction of movement of the piston and the magnetic flux density detected by the magnetic sensor , the relationship being represented by a curve including a positive local maximum value (M1) and a negative local minimum value (M2), the fluid pressure cylinder movement time sensor being configured to define a positive value smaller than the positive local maximum value (M1) as a first threshold value (T1), and a negative value larger than the negative local minimum value (M2) as a second threshold value (T2), a point in time at which the magnetic flux density detected by the magnetic sensor exceeds or falls below the first threshold value (T1) as one of a starting point or an end point, a point in time at which the magnetic flux density detected by the magnetic sensor exceeds or falls below the second threshold value (T2) as another one of the starting point or the end point, and the fluid pressure cylinder movement time sensor measures a time from the starting point to the end point. the magnet is arranged so that a direction of magnetization thereof coincides with a direction of movement of the piston , and the magnetic sensor is configured to detect the magnetic flux density in a direction perpendicular to the direction of movement of the piston ; and the fluid pressure cylinder movement time sensor is configured to monitor a relationship between a position of the magnet along the direction of movement of the piston and the magnetic flux density detected by the magnetic sensor , the relationship being represented by a curve including a positive local maximum value (M1) and a negative local minimum value (M2), the fluid pressure cylinder movement time sensor being configured to define a positive value smaller than the positive local maximum value (M1) as a first threshold value (T1), and a negative value larger than the negative local minimum value (M2) as a second threshold value (T2), a point in time at which the magnetic flux density detected by the magnetic sensor exceeds or falls below the first threshold value (T1) as one of a starting point or an end point, a point in time at which the magnetic flux density detected by the magnetic sensor exceeds or falls below the second threshold value (T2) as another one of the starting point or the end point, and the fluid pressure cylinder movement time sensor measures a time from the starting point to the end point. <EOS>