How should i clip time and timezone android -


i'm getting server response date as

"commented_on": "2017-04-06t14:01:23z" 

out of need "2017-04-06" want clip time , timezone when displaying date user? how shall ?

string wanted = "2017-04-06t14:01:23z".split("t")[0];


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -