parameters: (input_file)
return_statement: return log_created_year
docstring: Get year from log file system timestamp
docstring_summary: Get year from log file system timestamp
docstring_tokens: Get year from log file system timestamp
function: def get_log_created_year(input_file):
      """Get year from log file system timestamp
      """
  
      log_created_time = os.path.getctime(input_file)
      log_created_year = datetime.datetime.fromtimestamp(log_created_time).year
      return log_created_year
function_tokens: def get_log_created_year ( input_file ) : log_created_time = os . path . getctime ( input_file ) log_created_year = datetime . datetime . fromtimestamp ( log_created_time ) . year return log_created_year