def _get_offset_time(utc_offset):
 if (utc_offset is not None):
  minutes = _offset_to_min(utc_offset)
  offset = timedelta(minutes=minutes)
  offset_time = (datetime.utcnow() + offset)
  offset_time = offset_time.replace(tzinfo=_FixedOffset(minutes))
 else:
  offset_time = datetime.now()
 return offset_time

def _get_offset_time ( utc_offset ) : if ( utc_offset is not None ) : minutes = _offset_to_min ( utc_offset ) offset = timedelta ( minutes = minutes ) offset_time = ( datetime . utcnow ( ) + offset ) offset_time = offset_time . replace ( tzinfo = _FixedOffset ( minutes ) ) else : offset_time = datetime . now ( ) return offset_time
will return the current time adjusted using the input timezone offset .