date utils on mobile browsers