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


For Example

Any Help will be really Appreciated

Answer Source

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

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

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