How to set timestamp in curl request?

There is a website in the get request is the parameter: &timestamp=1575996032461

If you make a request from a regular browser, get the error, I don't know because apparently the parameter timestamp is transmitted not just.

Help to understand, what it gives and how I shape it in php and add curl request to the server to return the desired data instead of an error?
April 3rd 20 at 17:21
1 answer
April 3rd 20 at 17:23
Solution
Add to the query the time()
Time returns a number less than my website.

here returns site: 1575996706888
but returns time(): 1575996744 - Alisha.Anderson commented on April 3rd 20 at 17:26
@Alisha.Anderson, multiply by 1000 and get a similar result. - Lauriane.Pri commented on April 3rd 20 at 17:29
@Lauriane.Pri, time() * 1000 right? you end up getting an integer always)) apparently not multiply? - Alisha.Anderson commented on April 3rd 20 at 17:32
@Alisha.Anderson, why don't you try on that site? I threw the website https://www.php.net/manual/ru/function.microtime.php - thomas commented on April 3rd 20 at 17:35

Find more questions by tags PHP