We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Set timezone programatically

Received Response
30
Views
6
Comments
edited Jan 15, 2020 4:23PM in Integrations and APIs 6 comments

Summary

Set timezone programatically

Content

Hi,

I'd like to set timezone programatically (PHPConnect or REST/SOAP API). Is this possible? I checked documentation but timezone field doesn't appear to be accessible.

I tried via PHPConnect (only fetch) but seems to be empty or not to be an accesible field. Pasted example.

 
$account = RNCPHP\Account::fetch(1);
echo "account: ";
var_dump( $account->timezone);
echo $account->timezone;
echo " value<br>";

 

Output has been:

account: NULL value

 

Does anybody made it? How can be this made?

Thanks

Code Snippet

$account = RNCPHP\Account::fetch(1);
echo "account: ";
var_dump( $account->timezone);
echo $account->timezone;
echo " value<br>";

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!