use AM/PM or 24hrs view according to user preferences