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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:32:20+00:00 2026-05-24T00:32:20+00:00

the date style stored in the database is as this : 1310783109 . eg:

  • 0

the date style stored in the database is as this : 1310783109.

eg: the date field is updatetime. when i using this:

SELECT updatetime from node_software

then in my template file i using this {updatetime}. it outputs 1310783109. is there a way to format the date in the sql command then to make the output like this 07-28. namely, the month-the day. thank you.

  • 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-24T00:32:21+00:00Added an answer on May 24, 2026 at 12:32 am

    You can do this using FROM_UNIXTIME:

    SELECT FROM_UNIXTIME(`updatetime`, '%m-%d') AS `updatetime` 
      FROM `node_software`
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What's the cleanest way to convert data (field values) when storing/loading into/from a database.
echo date(W,strtotime('2010-01-01')); This outputs 53. I would expect it to output 1. Can anyone
Table1 Date id salary 01/2012 001 1500 01/2011 001 750 01/2010 001 500 from
I am using Ext.view.View for my data view. When I select one item 'selectionchange'
I am using the HtmlAgilityPack to retrieve information from a web page and, at
I'm having this problem when I tried to extract information from excel files. Here's
I'm able to get today's date using the following in Objective-c: NSDate *date =[NSDate
I have a text file (more correctly, a “German style“ CSV file, i.e. semicolon-separated,
I have JSON Data in this format : var jsonData = [{date:'August 19, 2004',open:100.01,high:104.06},{date:'August
I want to get date format in style 6Mar2012 7:03:34 AM. Can anyone tell

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.