Time calculator Fixed