• 0

SQL Query Works But Date is exporting as an integer..


Question

Hello World ;-)

I;ve been looking at extracting messages from my iPhone without any real special software (aka free)

So far I've got the messages out, extracted into a CSV file but the same stamp I'm lost on

This is the command I'm running


select message.rowid, date, handle.id, message.text from message, handle where message.handle_id=handle.rowid

[/CODE]

In the DB table date is stored as an integer.

So is there a way to run the query but output the date as a proper time and date format?

Thanking you in advance.

3 answers to this question

Recommended Posts

  • 0

It's an SQL Lite db. Basically it's the DB format of what the iPhone uses to store texts, imessages in etc. I'll see if I can find a link to it's schematics.

My DB skills only go as far as that query above which i cobbled together from my memories of SQL in college some 16 years ago :D

  • 0

I store dates in julian format in my sqlite databases, so it's probably something similar. There are usually conversion functions in various programming languages. Sqlite has some built-in date/time functions . Maybe they'll do what you need.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • This article does not make sense and it’s very evident, the bug wasn’t confirmed to exist, because the application itself runs on editions of Windows which make it impossible to run Hyper-V VMs on, “Basically, Claude Desktop on Windows spins up a 1.8GB Hyper-V virtual machine if you use Claude Cowork or agent mode even once.”, suggests the bug is caused by something else otherwise it would only happen to users with the capability of running Hyper-V VMs and that’s only if Hyper-V was enabled which is by default not enabled. The true issue is that the author who reported the bug used the incorrect terminology.
    • “To prevent hallucination issues and keep the database clean, the platform uses a multi-agent verification loop to check code quality.” - This absolutely isn’t happening. ”Before the massive rise of LLMs, which tanked its traffic by about 50% over the last couple of years, Stack Overflow was the go-to website for millions of programmers seeking coding solutions.” - It still is trusted, because the community of users, blocked other users from submitting false and misleading answers generated by AI agents that can be convinced something it generated is actually incorrect even if it’s actually correct. The company itself doesn’t know what it wants to be so it keeps trying and failing to introduce AI features to the platform. This effort will also fail, already submitted one successful poison pill, look forward to generating more.
    • Faster? MBP M5 Max, I have 4k video renders running faster than Teams.
    • Completely irrelevant as long as pricing is garbage. With OneDrive I get storage for about $18 / TB for a year. With Proton it's $96. For the record, Google One is around $48, Dropbox $69, iCloud $60. In other words, Proton is the worst value BY FAR. Not to mention with OneDrive I get full desktop and web office suites for 6 people.
  • Recent Achievements

    • One Month Later
      Sopa flores earned a badge
      One Month Later
    • First Post
      StaticMatrix earned a badge
      First Post
    • Week One Done
      StaticMatrix earned a badge
      Week One Done
    • Rookie
      lamborghiniv10 went up a rank
      Rookie
    • One Month Later
      pinnclepd earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      524
    2. 2
      PsYcHoKiLLa
      211
    3. 3
      +Edouard
      159
    4. 4
      Steven P.
      98
    5. 5
      ATLien_0
      82
  • Tell a friend

    Love Neowin? Tell a friend!