Converting Timestamp observable to YEAR-MONTH-DAY format for polymer Dart

Viewed 1259

What the title states. I am calling a cloud endpoint that records the submission time of a record as a Java Date. When I call for the record form this endpoint it returns it to Dart as a timestamp which I have binded through polymer to a template.

However the Java Date is hardly human readable to non-programmers and I need a way to convert this in polymer to something that looks decent. Any suggestions??

Thanks

Ruben

2 Answers
Related