parse.com - How to use momentjs to find number of days between ParseServer object updatedAt -
how find number of days difference between today , parse server object column updatedat using momentjs. not sure whats exact format of updatedat column.
if have json representation of parseobject, can create moment object "iso" property.
const obj = yourparseobject.tojson() const momentdate = moment(obj.updatedat.iso).fromnow()
Comments
Post a Comment