How you get Degree minute and seconds from lat/lng
I am getting lat/LNG from Google's map API.
How can I get the Degree, minute and seconds value? Do I convert lat/LNG or is there a way to get this data from Google API?
The format I'm looking to get is
1° 23' 45" W 67° 89' 10" N
Maybe known as GPS coordinates.
Want examples would be great.