When I use DataTables editor to receive data in the PHP backend,The value of GQ field is obtained by the difference between xdtime and wctime, not from the input value, My method is like this:
->fields(
Field::inst( 'xdtime' ),
Field::inst( 'wctime' ),
Field::inst( 'gq' )
->setValue(round((strtotime(Field::inst( 'wctime' ))-strtotime(Field::inst( 'xdtime' )))/3600/24)),
but it's wrong,How is the right way to get it?
Greetings