Categories

Date Extractor (日期提取器)

Extract dates from text in multiple formats including Chinese, ISO, and US formats with detailed analysis and summary

Include partial dates like "May 5", "2023年5月", "去年5月1" without full year or day specification

Choose which date format types to extract

Choose the format for extracted dates

Key Facts

Category
Text Processing
Input Types
textarea, checkbox, select
Output Type
json
Sample Coverage
4
API Ready
Yes

Overview

The Date Extractor tool scans text to identify and extract dates in various formats, including Chinese, ISO, and US styles. It provides detailed analysis and a summary of all found dates, making it easy to parse temporal information from documents.

When to Use

  • When you have a document or text with mixed date formats and need to standardize them.
  • To quickly identify all dates mentioned in reports, emails, or logs for data analysis.
  • When processing text data that includes partial dates and you want to include or exclude them based on your needs.

How It Works

  • Paste or type the text containing dates into the input field.
  • Select the date formats to extract: all, Chinese only, ISO only, or US only.
  • Choose the output format for extracted dates: original, ISO, or US format.
  • Optionally, enable 'Include Partial Dates' to capture incomplete date references.

Use Cases

Extracting dates from customer support tickets to track response times.
Parsing dates from historical documents or articles for research purposes.
Standardizing date formats in data entry forms or logs for database import.

Examples

1. Extracting Dates from a Research Paper

Researcher
Background
A researcher has a text dump from a PDF with dates in mixed Chinese and ISO formats.
Problem
Need to list all dates mentioned to create a chronological timeline of events.
How to Use
Copy the text and paste it into the Date Extractor. Set formats to 'all' and output to 'ISO' for consistency.
Outcome
All dates are extracted and formatted as ISO dates, providing a clear list for timeline creation.

2. Standardizing Dates in Customer Logs

Data Analyst
Background
Customer service logs contain dates in mixed US and Chinese formats.
Problem
Inconsistent date formats make it hard to analyze response times and trends.
How to Use
Paste the log text into the tool, select 'US only' format, and set output to 'ISO' for uniformity.
Outcome
Dates are standardized to ISO format, enabling accurate time-based analysis and reporting.

Try with Samples

text

Related Hubs

FAQ

What date formats does the tool support?

It supports Chinese (e.g., 2023年5月1日), ISO (e.g., 2023-05-01), and US (e.g., 05/01/2023) formats.

Can it extract partial dates like 'May 5'?

Yes, by enabling the 'Include Partial Dates' option.

What output formats are available?

You can output dates in their original format, ISO format (YYYY-MM-DD), or US format (MM/DD/YYYY).

Is there a limit to the text length?

The tool accepts text input via a textarea, but very large texts may affect performance.

How accurate is the extraction?

The tool uses pattern matching to identify common date formats, but accuracy depends on the text's clarity and format consistency.

API Documentation

Request Endpoint

POST /en/api/tools/date-extractor

Request Parameters

Parameter Name Type Required Description
text textarea Yes -
includePartial checkbox No Include partial dates like "May 5", "2023年5月", "去年5月1" without full year or day specification
formats select No Choose which date format types to extract
outputFormat select No Choose the format for extracted dates

Response Format

{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
JSON Data: JSON Data

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-date-extractor": {
      "name": "date-extractor",
      "description": "Extract dates from text in multiple formats including Chinese, ISO, and US formats with detailed analysis and summary",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=date-extractor",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]