How to filter a field that is a type of Date and Time ?

I try to use API to filter a Date and Time field, but I can not find any thing to use.
It need to transfer Date to string, then save to collection, if yes, the field type of Date and Time can not been use.
Thank you in advance.

Hi Jack Li,

You can save the date and time data both as a date and a string, and use each one when its relevant.
Use filter options to customize the query.

Note that not all filter options are compatible with a date type.

I understand now. Thank you very much.