Just Flight PA28 DME

A DME is typically channeled from the Nav radio so the frequency in this instance would be the Nav frequency. I don’t think MSFS provides an extra var for a dedicated DME frequency but I haven’t checked in a while as the SDK is always updating.
I calculate time from distance and speed.