Set timezone
Tags: #naas #timezone #snippet
Author: Jeremy Ravenel

Input

Import needed library

1
import naas
Copied!

Select your timezone

1
new_timezone = "Europe/Paris"
Copied!

Model

Get your current timezone

1
naas.get_remote_timezone()
Copied!

Output

Set your new timezone

1
naas.set_remote_timezone(new_timezone)
Copied!
Copy link
Edit on GitHub