[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: How to set the default time to 7 AM for Date/Time Field

  • Thread starter Thread starter mpiscoso@gmail.com
  • Start date Start date
Status
Not open for further replies.
M

mpiscoso@gmail.com

Guest
Try this: var dt = new Date('{!#TODAY}'); dt.setHours(7,0,0,0); //Change {!#TODAY} to whatever you need it to be rbf_setFieldValue('dateTimeField',dt); //As long as it's a date object that has it's time set to whatever you need it to be it should work This should work.

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