[progress Communities] [progress Openedge Abl] Forum Post: Rbf_updaterecord() - Set...

  • Thread starter Thread starter IramK
  • Start date Start date
Status
Not open for further replies.
I

IramK

Guest
Hello, I am trying to set the date of a record using the rbf_updateRecord() function but its staying empty when I use the code below. var currentDate = new Date(); var arr = []; arr.dateField = currentDate; // Doesn't work rbf_updateRecord("object", id, arr, true, function postUpdateCallback() { alert("Done"); } When I use the code below it works so I'm thinking its something to do with the format. How can I know the format that I am supposed to set in a portal page? arr.dateField = "29/06/2016, 15:28"; // Works Cheers. Iram

Continue reading...
 
Status
Not open for further replies.
Back
Top