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

Status
Not open for further replies.
S

Shiva Duriseati

Guest
Hi Tehila, If your requirement is to get date from date/time field and to store that date into differect field or object. Instead of parsing the date you can directly use the following function: Here I am creating a date field in object "Sample" and assigning the createdAt to DateField. rbv_api.createRecord('Sample', {'DateField':new Date("{!createdAt}")}); Regards, Shiva

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