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

  • Home
  • SEARCH
  • 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 7966399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:24:58+00:00 2026-06-04T06:24:58+00:00

Table1 Date1 (datatype is integer) 25969 25969 …. I want to get a correct

  • 0

Table1

Date1 (datatype is integer)

25969 
25969
....

I want to get a correct format of the date like (18-05-2012)

The above date1 column values output is

Date1

17-05-2012
17-05-2012
...

How to make a query for this.

Need query help

  • 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-04T06:25:00+00:00Added an answer on June 4, 2026 at 6:25 am

    Assuming your int is UNIXTIME (seconds since 1970/01/01)

    Something like:

    declare @UNIX_TIME int
    select @UNIX_TIME = 1111111111
    -- Using dateadd to add seconds to 1970-01-01
    select [Datetime from UNIX Time] = dateadd(ss,@UNIX_TIME,'1970-01-01')
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table contains a column with Date datatype. I want to get
Using Access 2003 Date Column datatype is text Table1 Date 20090528 20090529 20090530 20090502
I have a DATE datatype mysql column in a table. I want to set
Using SQL Server 2005 Table1 Date 19-12-2009 20-12-2010 ..... Date Column datatype is DATETIME
Using sql server 2000 Date Column datatype is varchar Table1 ID Date 01 20100122
Table1 Date id salary 01/2012 001 1500 01/2011 001 750 01/2010 001 500 from
Using SQL Server and VB6 Table1 Date Time 20090801 060000 20090802 162000 Date Format:
I have employees attendance table from date 1 to 31 with column names like
Using SQL Server 2000, Date Column Datatype is varchar... In my table date column
Select CONVERT(Date, '13-5-2012') When i run the above T-SQL statement in Management Studio, i

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.