Can I get local time and (relative) location from the cell phone system?

I would like to collect relative location and attach a time stamp to my data array. With no data plan? I figure to use preassembled library of text messages for communications/configuration.

Provided: GSM gsm; Local time can be set using the gsm.getLocalTime() as it returns seconds since epoch in local time zone.

Thank you very much. I now have my civil time being decoded from epoch time. Epoch time is very easy to store as a time stamp with data collections too.