In C#, DateTime.ToShortDateString() returns only the date part as text. The shape comes from the current culture: month first in the United States, day first in Germany, year first in Japan.
It is the same as ToString("d"). The time of day is dropped.
This is an instance member of System.DateTime. You call it on a DateTime value, such as dt.ToShortDateString(...). DateTime is a struct, so every value is copied and never changed in place.
Syntax
Call it on a DateTime. It takes no arguments.
C#
CultureInfo.CurrentCulture = CultureInfo.InvariantCulture;
DateTime dt = new DateTime(2026, 11, 18, 14, 30, 45);
string s = dt.ToShortDateString(); // "11/18/2026"
Call
What it does
dt.ToShortDateString()
Short date in the current culture.
dt.ToString("d")
The same result, written with a format letter.
dt.ToString("d", culture)
Short date for a specific culture, without changing the current one.
There is no culture overload. To choose a culture for one call, use ToString("d", culture). The examples set CurrentCulture so their output is fixed.
Library declarations
C#
public string ToShortDateString();
Parameters
Parameter
Description
None
ToShortDateString() takes no parameters.
Return Value
Return Value
Description
string
The date in the short date pattern of the current culture. No time is included.
C# Examples
Example 1 — Short Dates with a Fixed Culture
Set the invariant culture and print two short dates.
C#
using System;
using System.Globalization;
class Program {
static void Main() {
CultureInfo.CurrentCulture = CultureInfo.InvariantCulture;
DateTime a = new DateTime(2026, 11, 18, 14, 30, 45);
DateTime b = new DateTime(2026, 3, 5);
Console.WriteLine(a.ToShortDateString());
Console.WriteLine(b.ToShortDateString());
}
}
Output
11/18/2026
03/05/2026
How It Works
Set the culture once. After this line every culture-aware call uses the invariant culture.
Month first. The invariant short pattern is MM/dd/yyyy.
Leading zeros. March 5 becomes 03/05/2026.
Time hidden. The 14:30:45 in the first value never appears.
Example 2 — Same Date, Three Looks
Loop over German, British, and Japanese cultures.
C#
using System;
using System.Globalization;
class Program {
static void Main() {
DateTime dt = new DateTime(2026, 11, 18);
foreach (string name in new[] { "de-DE", "en-GB", "ja-JP" }) {
CultureInfo.CurrentCulture = new CultureInfo(name);
Console.WriteLine(name + ": " + dt.ToShortDateString());
}
}
}