Guitars is pretty easy to pickup.
Getting good enough to jam basic rock tunes confidently takes about 6 months of half an hour a day.
With the same amount of practice over a year and you should be good enough to join a band.
Get a Cheap nylon string, chord book and a little black book of rock.
Start with "wild thing" in open chords.
Chords G, C, and D.
They go together really well are easy to manage and change between.
Then learn A minor, A major, E minor, E major This will give you a lot to work with, so that you can experiment with finger shapes and changing chords.
Concentrate on your timing (The most important thing).
Stick with it even when you feel like you're not getting anywhere.