google apps script - Method Session.getTimeZone is deprecated -


this page:-- https://developers.google.com/apps-script/advanced/youtube-analytics

i copied code spreadsheet script editor. when run advises me that:- method "session.gettimezone" has been marked deprecated means feature should avoided , may removed in future. consider using alternative solution.

i have searched google , http://www.w3schools.com/ , have not been able find alternative... please advise...

use:

session.getscripttimezone(); 

google documentation - getscripttimezone

getscripttimezone() exact same thing gettimezone() did. there no difference except name.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

c - getting error: cannot take the address of an rvalue of type 'int' -

python - GitPython: check if git is available -