0

I would like to ask how can i get string with 'now' date in the following format?

"2015-10-08T08:09:22.067+00:00" ?

Many thanks for any advice.

redrom
  • 11,502
  • 31
  • 157
  • 264

2 Answers2

0

Have a look here at the simpledateformat method:

http://developer.android.com/reference/java/text/SimpleDateFormat.html

Wildcopper
  • 373
  • 1
  • 3
  • 11
-1

I think you should use the simple date format to format your date string . For this, consider reading the this link .

But if you want just to change the string and get the time then just follow this link or this link

I hope this answer would help you.

Community
  • 1
  • 1
Coas Mckey
  • 701
  • 1
  • 13
  • 39