docstr: Receive raw date string and return the calculated milliseconds based on the time string.
  Args:
      args: time string in the format of YYYY-MM-DD
  Returns:
      the input time string in the format of milliseconds
docstr_tok: ["Receive","raw","date","string","and","return","the","calculated","milliseconds","based","on","the","time","string",".","Args",":","args",":","time","string","in","the","format","of","YYYY-MM-DD","Returns",":","the","input","time","string","in","the","format","of","milliseconds"]
code: def time_parser(self, args) -> int:
      """
      Receive raw date string and return the calculated milliseconds based on the time string.
      Args:
          args: time string in the format of YYYY-MM-DD
      Returns:
          the input time string in the format of milliseconds
      """
      ymd = args.split("-")
      epoch0 = datetime.datetime(1970, 1, 1, tzinfo=pytz.utc)
      time = pytz.timezone(str(get_localzone())).localize(
          datetime.datetime(
              int(ymd[0].rstrip()),
              int(ymd[1].rstrip()),
              int(ymd[2].rstrip()),
          )
      )
      return int((time - epoch0).total_seconds() * 1000)
  
file_path: mindsdb/mindsdb/integrations/handlers/google_fit_handler/google_fit_tables.py
imports: from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.utilities.sql_utils import extract_comparison_conditions
  from mindsdb_sql.parser import ast
  import datetime
  import pytz
  import time
  from tzlocal import get_localzone
label_desc: Use image node_id 1 for calling the GoogleFitTable obj's underlying member method code with example usage: obj.time_parser(args) and returns: int