I am creating a clock app i have finished displaying users current time but now what I want to do is if the user types or selects a city name the local time of the selected city wants to be displayed how can I achieve it please help me.
You would need some kind of lookup to find out which time zone the location is in, and then apply an offset against the current system/local time.
Didn’t you ask this over here: https://forums.coronalabs.com/topic/70405-clock/#entry367447
Of are you asking about how to set up a pick-able list of cities tied to time-zones. If so, consider using one of the widgets.
Run the widget example that comes with Corona to see them all.
You would need some kind of lookup to find out which time zone the location is in, and then apply an offset against the current system/local time.
Didn’t you ask this over here: https://forums.coronalabs.com/topic/70405-clock/#entry367447
Of are you asking about how to set up a pick-able list of cities tied to time-zones. If so, consider using one of the widgets.
Run the widget example that comes with Corona to see them all.