Query HubSpot by date

Query HubSpot by date

Hi,

How can I query HubSpot by date?  I would like to do the equivalent of the SQL below but I don't know how to do the date comparison.

SELECT t.Id
  FROM Contacts AS t
WHERE t.UpdatedAt > getdate()-1