# Problem with API contacts search using php client library

**URL:** <https://community.hubspot.com/t/problem-with-api-contacts-search-using-php-client-library/51434>\
**Category:** APIs & Integrations\
**Tags:** php, sdk, contacts\
**Created:** [February 12, 2022, 3:34pm UTC](https://community.hubspot.com/t/problem-with-api-contacts-search-using-php-client-library/51434 "2022-02-12T15:34:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Ismail](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ismail/32/33878_2.png) [@Ismail](https://community.hubspot.com/u/Ismail)\
**Post date:** [February 12, 2022, 3:40pm UTC](https://community.hubspot.com/t/problem-with-api-contacts-search-using-php-client-library/51434/2 "2022-02-12T15:40:48Z")

</div>

Hi @JNichel Hubspot uses Unix timestamp in milliseconds for date value

So instead if “2022-01-31” use 1643598000000

I hope this is helpful.

---

_[View the full topic](https://community.hubspot.com/t/problem-with-api-contacts-search-using-php-client-library/51434)._
