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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:34:10+00:00 2026-05-23T10:34:10+00:00

my type for date in the database is datetime and format of the datetime

  • 0

my type for date in the database is datetime and format of the datetime i am getting is 2/21/2011 12:00:00 AM .how can i convert this into 24 hour format.

  • 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-23T10:34:10+00:00Added an answer on May 23, 2026 at 10:34 am

    From the comments I would suggest that you may have a mis-understanding.

    After you enter datetime data into a database, it’s not stored as text, it’s not stored as AM/PM or 24 hour, it’s its own type. Only when an application converts it for display on screen does the difference materialise. This is an artefact of the application, not the database.

    Are you able to eloborate on why this is an issue to you? How is the data being used?
    – Are you going to be running any code?
    – Are you copying it to Excell?
    – Are you just basking in it’s glory?

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

Sidebar

Related Questions

In mysql database i have this column called: Name: Date Type: datetime I have
I have a field in my database (MYSQL) with datetime type (with this format
I have data in my database that looks like this: Date (DateTime) Type (varchar)
One of the fields in my database is of 'DATE' Type (field-name = 'post_date').
MySQL stores the date in my database (by default) as 'YYYY-MM-DD' The field type
I'm trying to let users type in date and time values into an input
One of my columns type is DateTime (Date Registered). I cannot create a query
I am basically trying to convert a string similar to this one: 2011-11-9 18:24:12.3
I'm trying to insert a System.DateTime into an Access database using a parameterized OleDbCommand
I store datetime values in the database as sql float type (Converted from an

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.