/ Forums / Advansys Formativ / Creating Solutions with Formativ / Appointment duration from DateTime controls / Reply To: Appointment duration from DateTime controls

#7901
Support 1
Participant

Further to Support 3’s comments, is your code assigning the appropriate value to the Time/DateTime (as opposed to the Date) property?

For example:

  with NewTimeRecord
    .TimeBeginPicker.DateTime = datetimeTimePeriodBegin
    .TimeEndPicker.DateTime = datetimeTimePeriodEnd
  end

Regards,
Advansys Support