Diglin\Ricardo\Core\Helper::getJsonTimestamp
Json Date coming from Ricardo API are formatted as the following '/Date(1400795100000+0200)/' We return the Unix timestamp part
We deal with UTC+0 for the timestamp
Signature
public function getJsonTimestamp(string
$dateĀ )
Parameters
-
$date
Returns
- string