user3037815 user3037815 -4 years ago 90
Java Question

Current Date Time in " YYYY-MM-DDTHH:MM.000z" Format in Android

Hello i am very new to android Development , working on a Android Code right now ,I need to Get the current date and time in this Format

YYYY-MM-DDTHH:MM.000z


For Example
2013-11-26T03:16:00.000Z

Any Help will be really Appreciated

Answer Source

There is documentation readily available for Android's SimpleDateFormat class at:

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

Also appears to have been answered before. Among other places.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download