add variable for 12 vs 24 hour