Added user timeFormat function