What County Is Danville, Maryland In?

Danville is in Allegany County, Maryland. About 341 people live there (2020–2024 estimate). It uses Eastern Time and covers 1.14 sq mi (2.96 km²) of land. The nearest city or town of 50,000 people or more is Harrisonburg, Virginia, 74 mi south.

BaltimoreColumbia
Danville in Maryland
Danville (simplified outline). Open in OpenStreetMap ↗
Population, 2020–2024 estimate
341 ± 224
Land area
1.14 sq mi (2.96 km²)
Time zone
Eastern TimeUTC-05:00 in January; UTC-04:00 in July
Elevation
1,024 ft 312 m, height USGS lists for its map point
Homes lived in by their owners
54.9% ± 28.9 points
Water area
0 sq mi (0 km²)
State
Maryland
Census place code
2421675
Coordinates (central point)
39.510165, -78.917545

These coordinates mark a central point for the area, not a street address. Population, income, home value, rent and homes lived in by their owners: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates, ± margin at 90% confidence; checked on October 13, 2026.

County boundaries in Danville

For a point close to the city or county boundary, check the address with the office responsible for your form. Check a point on the county map.

Coordinates of Danville

39.510165, -78.917545 is a central point for Danville, not a street address. Convert these coordinates or share a map link.

Elevation in Danville

1,024 ft (312 m), the height USGS lists for Danville’s named map point. Ground height varies across town. Check elevation at another spot.

Sunrise and sunset in Danville

Longest day
14 hours 58 minutes around June 21
Shortest day
9 hours 23 minutes around December 21
Earliest sunrise
5:47 AM around June 14
Latest sunrise
7:49 AM the day before clocks go back in November
Earliest sunset
4:51 PM around December 7
Latest sunset
8:47 PM around June 28

Clocks go forward an hour on the second Sunday in March and back on the first Sunday in November, so sunrise and sunset jump an hour later in March and an hour earlier in November.

Sunrise and sunset on the 15th of each month
DaySunriseSunsetDaylight
Jan 157:34 AM5:16 PM9 h 42 min
Feb 157:07 AM5:52 PM10 h 45 min
Mar 157:27 AM7:22 PM11 h 55 min
Apr 156:38 AM7:53 PM13 h 15 min
May 156:01 AM8:22 PM14 h 21 min
Jun 155:47 AM8:44 PM14 h 57 min
Jul 156:00 AM8:42 PM14 h 42 min
Aug 156:28 AM8:11 PM13 h 43 min
Sep 156:56 AM7:24 PM12 h 28 min
Oct 157:25 AM6:36 PM11 h 11 min
Nov 156:59 AM5:00 PM10 h 1 min
Dec 157:28 AM4:52 PM9 h 24 min

Approximate times for a flat horizon at the central point; the days move by a day or so from year to year. Hills and weather can change what you see.

Time zones in Danville

Danville uses Eastern Time (America/New_York).

Time zoneLocal time and UTC offsetNext clock change
Eastern TimeAmerica/New_YorkUTC-05:00 in January; UTC-04:00 in July. Enable JavaScript for the live clock.Enable JavaScript for upcoming changes.

Near a time-zone line, check where you are with the time-zone finder. Your phone’s setting can differ.

ZIP Code area

  1. 215571,481 people

One ZIP Code area overlaps Danville: 21557 (1,481 people, 2020–2024 estimate). Mailing ZIPs can differ; check an address with USPS ZIP Code Lookup.

Nearest town

Straight-line distance between the two towns’ map points, not driving distance.

  1. Rawlings, Maryland (CDP)2.6 mi northeast

Before using this answer on a form

A city boundary, a CDP and a mailing city can mean different things.

Find the county where you are now, check its ZIP area, or check the time zone where you are.

See this place on Census.gov ↗