Help with extracting coordinates for usage in GPS program

There is a shorter method... Go look at the TinyGPS++ library by Mikal Hart... It is a little easier to use... for example time doesn't require a position lock... All My GPS devices can return time as soon as they are powered up... no wait for the position lock required by TinyGPS12... I use the library and It always works well for me..

Doc