thats how i have done it: jQuery.timeago(elm.spCreatedAt.toString()) and this is the value of elm.spCreatedAt: spCreatedAt: date: "2020-10-01 13:38:15.000000" timezone: "Europe/Berlin" timezone_type: 3