Using a SugarField inside a custom module

Hi everyone!

I’m building a reporting module for SuiteCRM and I’d like to use “native” SuiteCRM fields as filters, for example a “From / To” dates pair… Is there a recommended way to achieve this? IOW, how do I insert a SugarFieldDatetime inside a custom template?

Thanks for your time!