Use dnet_time structure in dnet_time_before/after functions
Use 0xHEX string instead of just HEX