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 6907335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:25:19+00:00 2026-05-27T08:25:19+00:00

I have an Event table with a column called start_date of datatype DateTime .

  • 0

I have an Event table with a column called start_date of datatype DateTime. From C# application date is showing up like 07/12/2011 and when saved in table its like 2011-08-12 11:00:00.000.

How can I make this format of date be saved like 2011-12-08 11:00:00.000 instead of above?

I am not using a stored procedure/function in SQL Server, instead I’m using Entity Framework. I want that date auto formatted and saved like above.

anyone please.

  • 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-27T08:25:20+00:00Added an answer on May 27, 2026 at 8:25 am

    The datetime in SQL Server isn’t stored in any string-based format – it’s stored as a numerical 8-byte value.

    The string representation you see is the default representation defined by your language/regional settings, and the date format setting in SQL Server.

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

Sidebar

Related Questions

I have a table called Event. A column has duration--which is...how long that event
i have a table that has event name and event date. if i want
I have an Oracle table which contains event log messages for an application. We
Assuming I have table called events with the columns INT id DATETIME start_time DATETIME
I have a table called calendars. One of its columns is named 'date' When
I have a table called test, which only has 1 column, NullableInt (nullable int
I have a column in a table called Complete that is a boolean .
Okay, so I have a (SQLite) table called log wherein one column (time) is
I have a table with a column event_time . How can I select two
I have 3 tables event, location, event_location. Event can have multiple locations. Location table

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.