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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:36:14+00:00 2026-06-17T13:36:14+00:00

I have a value as 2013-01-18 in this format as date datatype, I need

  • 0

I have a value as 2013-01-18 in this format as date datatype, I need to convert this as Fri, Jan 18, 2013 in SQL Server 2008.

How do I convert ?

  • 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-06-17T13:36:15+00:00Added an answer on June 17, 2026 at 1:36 pm

    Try this:

    DECLARE @dt DATETIME = '2013-01-18'
    SELECT LEFT(DATENAME(WEEKDAY, @dt), 3) + ', ' + CONVERT(VARCHAR(20), @dt, 107)
    

    However, be careful, CONVERT function with 107 parameter isn’t deterministic, it depends on local language settigs, you can read more about it at http://msdn.microsoft.com/en-us/library/ms187928.aspx

    Same goes for DATENAME function, read more about it at http://msdn.microsoft.com/en-us/library/ms174395.aspx

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

Sidebar

Related Questions

I have a table with value look like this id time_stamp value 1 2013-01-01
I have a value int called score and i want to save this to
I have the data in the Sqlite DB in this format.. month year FarmerCode
I am trying to take a string'd date value from an element, and convert
I have a column that store date and time values in the format YYYY-MM-DD
i have a simple SQL query: SELECT now() it returns the date and time
I have a ROC.Value data frame that looks like this: Years 1 2 3
I have a URL like this http://example.com/cronetab/realTimeDeliveryReport?externalId=14133337681891060&deliveredTS=2012-09-10%2013:27:32&status=Deliverd&cause=Successfully%20Deliverd&phoneNo=919995171152 cronetab is the controller name and realTimeDeliveryReport
Requirement: Allow user to enter date in the format of ###### while also have
I have this javascript and php/html code below: <script> var examInput = document.getElementById('newAssessment').value; var

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.