added time property snd function to format it