Date And Time Format
Greeting! I've done a project that can send GPS Coordinates to mobile number Automatically, The Recipients received like this example format 'lat:14.7836139 long:12.71104 speed:0.0
Solution 1:
Being a development question, this should be moved to StackOverflow, but here's a tip:
DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(loc.getTime()));
See the official documentation on the relevant classes around here to tweak it to suit your needs.
Post a Comment for "Date And Time Format"