function salesforce::getServerTimestamp in Salesforce Suite 5
Same name and namespace in other branches
- 5.2 includes/salesforce.php \salesforce::getServerTimestamp()
returns current time of salesforce server
@access public
Return value
timestamp time at sforce server.
File
- includes/
salesforce.php, line 322
Class
- salesforce
- salesforce
Code
function getServerTimestamp() {
$param = array(
'' => '',
);
$this->result = $this->client
->call('getServerTimestamp', array(
'parameters' => $param,
), '', '', false, true);
return $this->result['result']['timestamp'];
}