AMA Date Format: How to Recognize and Extract AMA-Style Dates from Text

Learn what an AMA-style date looks like, how to tell it apart from similar formats, and how to extract and verify AMA dates from text with an example pattern.

AMA date format is the way dates are written under the American Medical Association (AMA) Manual of Style, the style guide used by many medical and scientific journals. If you need to find these dates in a document, check that a date follows the style, or pull dates out of references, it helps to know exactly what the pattern looks like. This guide explains the format, shows how to recognize it step by step, and gives an illustrative extraction pattern you can adapt.

Evidence note: no source material was supplied for this article. The conventions below are widely described general principles of AMA style, not quotations from the manual. For edge cases such as abbreviated month names in tables, check the current edition of the AMA Manual of Style before relying on a rule.

What AMA date recognition does for your text

A date recognition or extraction step reads plain text and identifies the substrings that match an AMA-style date. The input can be any running text, such as an article body, a reference list, or a line like "Accessed March 4, 2020." The output is the list of matched dates, sometimes with their positions in the text. You can optionally convert each match to a standard form, such as the ISO format 2020-03-04, for sorting or storage.

Extraction alone does not change your document. It reads the text and reports what it finds. Any conversion or correction should be a separate, deliberate step applied to a copy, so meaningful content is never altered by accident.

What an AMA-style date looks like

In running text, AMA style follows the US month-day-year order. The month name is spelled out, the day is a plain number with no ordinal suffix, and a comma separates the day from the four-digit year. When only the month and year are given, no comma is used.

Text sample | Fits AMA style in running text? | Reason
March 4, 2020 | Yes | Month spelled out, plain day number, comma, four-digit year
March 2020 | Yes | Month and year only, no comma
March 4th, 2020 | No | Ordinal suffix "th" is not used
4 March 2020 | No | Day-first order is not US style
03/04/2020 | No | All-numeric dates are ambiguous between month-first and day-first readings
Mar 4, 2020 | Not in running text | Abbreviated months may be allowed in space-limited settings such as tables; confirm in the manual

Dates also appear in AMA references. A journal citation usually gives only the year, followed by volume, issue and pages, as in the illustrative fragment below. Online sources often add full dates with labels such as "Published," "Updated" or "Accessed."

2020;323(5):123-130.
Published online March 4, 2020.
Accessed May 12, 2021.

These lines are illustrative examples, not real citations. In the first line, 2020 is the year, 323 the volume, 5 the issue, and 123-130 the page range.

How to recognize an AMA date step by step

  • 1. Look for a full English month name: January through December.
  • 2. Check that a single space follows, then a day from 1 to 31 with no leading zero and no suffix such as "st," "nd," "rd" or "th."
  • 3. Confirm a comma directly after the day, then a space and a four-digit year.
  • 4. If no day is present, accept the month followed by a space and a four-digit year, with no comma.
  • 5. Check that the date actually exists on the calendar. "February 30, 2022" has the right shape but is not a real date.
  • 6. In reference lists, also check for the year;volume(issue):pages pattern, since that year is a date element too.

Example extraction pattern

The Python sketch below finds full AMA-style dates and month-year dates, then rejects matches that are not real calendar dates. It is an untested illustrative example. Run it against your own samples before using it on important material.

import re
from datetime import datetime

MONTHS = r"(?:January|February|March|April|May|June|July|August|September|October|November|December)"

# Full date: month spelled out, day without leading zero or suffix, comma, four-digit year
FULL_DATE = re.compile(r"\b" + MONTHS + r" (?:[1-9]|[12]\d|3[01]), \d{4}\b")

# Month and year only, no comma
MONTH_YEAR = re.compile(r"\b" + MONTHS + r" \d{4}\b")

def extract_full_dates(text):
    results = []
    for match in FULL_DATE.finditer(text):
        value = match.group()
        try:
            datetime.strptime(value, "%B %d, %Y")
        except ValueError:
            continue  # pattern matched but the calendar date does not exist
        results.append(value)
    return results

Example input: "Published online March 4, 2020. Updated May 12, 2021. Accessed February 30, 2022." Based on the logic of the pattern, the expected result is March 4, 2020 and May 12, 2021. February 30, 2022 should be dropped by the calendar check. This expected output was reasoned from the code, not produced by running it.

The month names in the pattern are case-sensitive, matching the capitalization AMA style uses. The "%B" directive in the date check reads full month names according to the current locale, so run it under an English locale. Otherwise, valid dates may be rejected.

Pitfalls that cause missed or false matches

  • Invisible spaces: text copied from PDFs or word processors may use a non-breaking space (U+00A0) between the month and day instead of an ordinary space (U+0020). The two look identical but will not match the same pattern. To accept both, replace the literal space with [ \u00A0] in the pattern rather than editing the source text.
  • Near-miss formats: "March 4th, 2020," "March 04, 2020" and "March 4 2020" are deliberately not matched. That is useful when you are checking style compliance. If you want to find dates that need correcting, write a separate, looser pattern for that job.
  • Month words in other contexts: "May" is also an ordinary word, so the month-year pattern can match phrases like "May 2020 budget" correctly while still needing review in unusual sentences. Treat month-year matches as candidates to verify.
  • Page ranges in references: a range like 123-130 is not a date, but a loose number pattern can mistake parts of it for one. Anchor reference-date searches to the year;volume structure instead.

Verifying the result

Compare the extracted list against the source by searching for each month name and confirming that every real date was captured and nothing else was. Spot-check a few lines that contain non-breaking spaces or unusual punctuation. If you converted dates to ISO form, keep the original matched strings alongside the converted values, so you can trace each result back to the exact text it came from.