change time from datetime to time