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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:50:40+00:00 2026-06-07T11:50:40+00:00

A LONG time ago, another user wrote that he was working on a library

  • 0

A LONG time ago, another user wrote that he was working on a library to read data from The Hit List directly

https://groups.google.com/d/msg/the-hit-list-users/arCPzjHaZeg/J6eatDiJWB4J

It doesn’t look like he ever released anything.

I was looking into reading THL’s library directly, to use with a geektool script, to avoid the overhead of applescript always having to lauch THL to read data in.

I’ve gotten part of the way, in finding tasks that are not complete yet

SELECT * FROM ZTASK where ZCOMPLETEDDATE is NULL ;

but I’m getting confused when I try to limit it to only tasks that are DUE now. If I look at the tasks schema I see ZDUEDATE is a timestamp

sqlite> .schema ztask

CREATE TABLE ZTASK ( Z_PK INTEGER PRIMARY KEY, Z_ENT INTEGER, Z_OPT INTEGER, ZARCHIVED INTEGER, ZPRIORITY INTEGER, ZNOTES INTEGER, ZPARENTLIST INTEGER, ZPARENTTASK INTEGER, ZRECURRENCE INTEGER, ZACTUALTIME FLOAT, ZCOMPLETEDDATE TIMESTAMP, ZCREATEDDATE TIMESTAMP, ZDISPLAYORDER FLOAT, ZDUEDATE TIMESTAMP, ZESTIMATEDTIME FLOAT, ZMODIFIEDDATE TIMESTAMP, ZSTARTDATE TIMESTAMP, ZCALENDARSTOREUID VARCHAR, ZNOTESUID VARCHAR, ZSTATUS VARCHAR, ZTITLE VARCHAR, ZUID VARCHAR, ZLOCALINFODICTIONARY BLOB );

Though when I try to query things, I can’t seem to figure out what kind of timestamp it is. It does not seem to be unixtime or juliantime.

For example

sqlite> SELECT * FROM ZTASK where ZCOMPLETEDDATE is NULL ;
...
ZDUEDATE = 363422378
...

which shows as a due date of 2012-07-07 from The Hit List’s UI but doesn’t seem to match

Unix time: 1341619200
Julian time: 2456115.5

Any other suggestions ?

  • 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-07T11:50:41+00:00Added an answer on June 7, 2026 at 11:50 am

    It’s the number of seconds since January 1st 2001 GMT. I didn’t choose this value myself, it’s the way that Core Data and Cocoa saves dates.

    For example, the value of 363422378 in your question becomes roughly 11.5 years:

    363422378 seconds / 60 / 60 / 24 / 365 = 11.524048009

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

Sidebar

Related Questions

From what I read somewhere long time ago, it seems that if you want
A long time ago I read an article (probably) by Herb Sutter that introduced
long time ago I wrote webservice that is still in use. Now I plan
Coming from C/C++ a long time ago I still have a habit of ensuring
I remember that I've seen this effect long time ago on a website. It
From a long time ago I have a memory which has stuck with me
A long time ago I came across a video from one of the Android
A long time ago, I remember reading a quite strong recommendation from Microsoft against
I rewriting some code that i written a long time ago. The code is
A long time ago I remember reading that you should always use the smallest

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.