What will it take to learn guitar in my 30a?

I don’t play any instruments but love music and want to play! I tried learning when I was a teen and learned some basics but didn’t stick with it bc it took a while to get to guitar teacher’s house. I don’t have a ton of spare time so that is another deterrent. Does it take a lot of time structured time to learn or can I pick it up by practicing here and there with the help of an online course?