The time for the trip is measured in two ways: (1) As seen by a person who stays behind on Earth, and (2) as measured by you on the ship. For your convenience, space-sickness pills are available aft of the observation lounge.
The equations for the computations came from the Desy Web Site. Here is what I used:
das the distance of half the trip in meters. (Note: There are about 9.47e15 meters per light year).
aas the acceleration in meters/sec². (Note: The conversion is 9.81 times the acceleration measured in gravities.)
cequal to the speed of light in meters/sec (which is 3.00e8).
2 * sqrt( (d*d)/(c*c) + 2*d/a )
asinhis the inverse hyperbolic sin function, computed in Java with the formula