fixed call to function timezone

example code is now working