Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 504675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:31:13+00:00 2026-05-13T06:31:13+00:00

I want to use a standard date format that displays date, month and year

  • 0

I want to use a standard date format that displays date, month and year in the standard regional settings of the pc. However I could only find “D” which lists day along with Date-Month-Year. Is there any way I can remove the day from it or any other way to get my desired output?

DateTime date1 = new DateTime(2008, 4, 10);
Console.WriteLine(date1.ToString("D", 
                  CultureInfo.CreateSpecificCulture("en-US")));
// Displays Thursday, April 10, 2008   

Note: I don’t want to be using custom format (d MMMM yyyy) as I want the regional settings of the order to be maintained.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T06:31:14+00:00Added an answer on May 13, 2026 at 6:31 am

    If you’re using one of the standard formats, then what gets displayed is going to depend on the culture anyway – so even if you could find something which doesn’t display the day of week in en-US, it may still display it in other cultures.

    I suppose you could find the DateTimeFormatInfo for the culture, find its LongDatePattern and then remove any occurrence of a single “d” from that format string. It would be pretty nasty though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a standard node.js static file server that I want to use to
Say I'm writing some ruby code and I want to use the standard Date
I have a string in standard ISO 8601 format that contains the date/time returned
I want to place markers on the map. I want to use the standard
I want to use the look of standard buttons on my page, but I
I have a standard table: I want to use jQuery to reformat the table,
I want to use JNI on Ubuntu 8.10, using Eclipse and gcc (the standard
I want to use a for loop to print every date between 2 dates.
So I have a simple_form, and I want to use the standard j-Query datepicker
I want to use Paypal Payment Standard(the one jumps to paypal to pay and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.