user48341: I want to parse a large number to sync time on my arduino. For this i send it a string with the current time in Unix time format wich looks somethink like this:

1535441277

For this I just call a php script wich echos the time() function.
But with  string.toInt()I'm unable to parse it. I suppose the number is too large for an int or a long. But I can't put it directly into the setEpoch() method from the RTCzero libary because it accepts as input datatype only uint32_t. So how can I parse large numbers on a system where double isn't implemented. And I don't just try to parse the entire HTTP-Response. I iterate thru the response and at the relevant line I write all the chars into a char-Array. I also have removed the \r and \n chars. 

user7508: On 32 bit systems, uint32_t is usually the same as unsigned int and unsigned long. You should be able to parse the number using strtoul(), which is quite standard and returns an unsigned long.

48341: <p>I want to parse a large number to sync time on my arduino. For this i send it a string with the current time in Unix time format wich looks somethink like this:</p>

<blockquote>
  <p>1535441277</p>
</blockquote>

<p>For this I just call a php script wich echos the <code>time()</code> function.</p>

<p>But with  <code>string.toInt()</code>I'm unable to parse it. I suppose the number is too large for an int or a long. But I can't put it directly into the <code>setEpoch()</code> method from the RTCzero libary because it accepts as input datatype only <code>uint32_t</code>. So how can I parse large numbers on a system where double isn't implemented. And I don't just try to parse the entire HTTP-Response. I iterate thru the response and at the relevant line I write all the chars into a char-Array. I also have removed the \r and \n chars. </p>
 7508: <p>On 32 bit systems, <code>uint32_t</code> is usually the same as <code>unsigned int</code> and <code>unsigned long</code>. You should be able to parse the number using <a href="http://www.cplusplus.com/reference/cstdlib/strtoul/" rel="nofollow noreferrer"><code>strtoul()</code></a>, which is quite standard and returns an <code>unsigned long</code>.</p>
