formatDate formatTime formatPrice functions