I am new to Android and I am currently facing an issue to get current time given the timezone.
I get timezone in the format \"GMT-7\" i.e. string. and I have the sys
Cleanest way is with SimpleDateFormat
SimpleDateFormat = SimpleDateFormat("MMM\nd\nh:mm a", Locale.getDefault())
or you can specify the Locale