Add X days to an existing date field

I was thinking maybe the problem was the Date conversion from SF to skuid …

So based myself on other post mentioned earlier

and tried this , but it’s prob not in the right syntax, so did not work

var field = arguments[0],        $ = skuid.$,
    value = arguments[1],
    createdDateTime = skuid.time.parseSFDate(skuid.$M(‘accounttest’).getFirstRow().LastActivityDate), 
    currentDateTime = skuid.time.parseSFDate(skuid.$M(‘accounttest’).getFirstRow().Days_to_add);
    theTimeYouWant = (currentDateTime + createdDateTime);
    field.element.append(skuid.time.getSFDate(theTimeYouWant));