[progress Communities] [progress Openedge Abl] Forum Post: Return Date From Date Time Field

  • Thread starter tehilac@safeguard.co.il
  • Start date
Status
Not open for further replies.
T

tehilac@safeguard.co.il

Guest
Hello! I want to return the date from the Create At field and to insert the date to different field (with trigger). I used this formula: function parseDate(str) { var mdy = str.split('-'); return new Date(mdy[0], mdy[1]-1, mdy[2]); } var dt=parseDate('{!createdAt#iso}'); dt; and the result is always: Wed Dec 31 1969 Create At Field is a date time field. I'd love to know what to change in the formula to accommodate to this type of field. attach screen shot. Thanks! Tehila

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