Take proper time input
Removed old comment