In most papers it is reported that maximum absorbance of glycine betaine as 365nm, but even after several repetitions I am getting its maximum absorbance at some other wavelength (i.e 200-220nm).
Type of solvent can affect the wavelength at which maximum absorbance. Solvent polarity is an important item particularly for materials containing lone pair of electrons. The increase in polarity of solvent leads to lowering the energy of the unexcited state causing widening the difference between excited state and unexcited state (more energy). So, blue shift (shorter wavelength) occurs. This may occur with glycine that contain amino group (carry lone pair of electrons)