If you are an active duty member of the Armed Forces and are:
then you are entitled to the pay and allowances you would receive if you were not absent. If you are absent with leave for any other reason for not longer than your authorized leave, you are entitled to the same pay and allowances to which you would be entitled if you were not on leave, and to any additional allowances otherwise provided by law for members on leave.
With a few exceptions, a member who is authorized to be absent for a period that is longer than the leave authorized is not entitled to pay or allowances for the time beyond that authorized.For more on authorized leave, see these resources:
Army - AR 600-8-10
Navy - MILPERSMAN (See regulation 1050-0-10)
Marine Corps - MCO P1050.3
Air Force - AFI 36-3003
ConnectMore