text: import time
  
  
  def get_current_timestamp():
      return int(round(time.time() * 1000))
  
  
  def convert_cst_in_second_to_utc(time_in_second):
      time_in_second = int(time_in_second)
      if time_in_second > 946656000 and time_in_second < 946656000000:
          return (time_in_second - 8 * 60 * 60) * 1000
      else:
          return 0
  
  
  def convert_cst_in_millisecond_to_utc(time_in_ms):
      time_in_ms = int(time_in_ms)
      if time_in_ms > 946656000000:
          return time_in_ms - 8 * 60 * 60 * 1000
      else:
          return 0
  
  