def offset_of_timezone(timezone_name):
 now = now_in_timezone(timezone_name)
 offset = now.tzinfo.utcoffset(now)
 minutes = ((offset.seconds / 60) + ((offset.days * 24) * 60))
 return minutes

def offset_of_timezone ( timezone_name ) : now = now_in_timezone ( timezone_name ) offset = now . tzinfo . utcoffset ( now ) minutes = ( ( offset . seconds / 60 ) + ( ( offset . days * 24 ) * 60 ) ) return minutes
return offset from utc of named time zone .