Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack

Documentation

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
Date date = ..
StringDateFormat rfc3339Daterfc3339Format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
rfc3339Format.setTimeZone(TimeZone.getTimeZone("UTC"));
String rfc3339Date = rfc3339Format.format(date);

...

Client → Server: ISO 8601

...