you need to check if (!timeStr) { send error, return } - might crash otherwise if user does not provide arguments