0
I used a cURL
, to make a api, which picked a specific date.
The problem is that the content returned is in English, for example: September 18, 2018
.
How could I format this for "en"?
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_FOLLOWLOCATION,1);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
$data = curl_exec($ch);
$espdata = GetStr($data,'<exemplo>','</exemplo>');
echo $espdata; //September 18, 2018
How to make a full date a common date?
– rray
Hello, young man. Don’t edit the question that way. You pretty much took out the context answers when making this issue. I reversed. If you have another question, ask another question.
– Wallace Maxters