Are you asking for (1) the time dilation resulting from an exact solution of the Einstein field equations, or (2) the time dilation in the weak-field limit, where the field is essentially Newtonian?
If it's 1, then I don't think you've specified enough to fully define the problem.
If it's 2, then you just need to calculate the potential of the cylinder by integrating. If you don't know how to do that, please tell us more about your math and science background, and we can try to help you at the correct level.
-Ben