<s> import time <EOL> import datetime <EOL> def get_timestamp_from_date ( * args ) : <EOL> return int ( time . mktime ( datetime . datetime ( * ( int ( arg ) for arg in args ) ) . timetuple ( ) ) ) <EOL> def get_current_time_zone ( ) : <EOL> return time . altzone if time . localtime ( ) . tm_isdst else time . timezone </s>
