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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:01:45+00:00 2026-05-15T10:01:45+00:00

I feel stupid, but I can’t get a TIMESTAMP column to be shown in

  • 0

I feel stupid, but I can’t get a TIMESTAMP column to be shown in human understandable way in a SELECT.

I could do that in MySQL, not in sqlite3.

Could someone show me an example please?

Thanks

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

    Here is an example:

    SELECT strftime('%Y', datetime(birthday_field, 'unixepoch', 'localtime'))
    AS birthday_year 
    FROM birthdays;
    

    The following is a complete list of valid strftime() substitutions:

    %d      day of month: 00
    %f      fractional seconds: SS.SSS
    %H      hour: 00-24
    %j      day of year: 001-366
    %J      Julian day number
    %m      month: 01-12
    %M      minute: 00-59
    %s      seconds since 1970-01-01
    %S      seconds: 00-59
    %w      day of week 0-6 with sunday==0
    %W      week of year: 00-53
    %Y      year: 0000-9999
    %%      % 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I feel like this is a stupid question, but I can't think of a
I feel stupid for asking, but there must be a one liner that does
I feel a little stupid for having to ask this… But I can't seem
I feel stupid asking this question, but I can not find a clear answer
Sorry, i feel so stupid right now but how can i do this on
I feel so stupid for posting this but I can't see what's wrong here.
I feel so stupid, but I can't find the error... Thanks. $l_sSql = 'INSERT
I feel like I'm being stupid, but I can't find anywhere on the phpMyAdmin
I feel stupid for even asking this, but I can't find the file anywhere.
i feel stupid asking that question, but it seems like i'm unable to find

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.