Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Apps and Programs
Anyone familiar with SQLite databases - specifically how date/time is encoded?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="vansmith" data-source="post: 1185544" data-attributes="member: 71075"><p>My first guess is Unix epoch time. I tried converting the last number there using <a href="http://www.epochconverter.com/" target="_blank">this</a> and it came up with "Sun Jan 30 2011 01:10:27 GMT-0500 (EST)". Does that look right?</p><p></p><p>I know that doesn't help you get them into dates (unless you want to put them in one at a time using that tool) but it should at least give you a sense of what those numbers are.</p><p></p><p>If I read <a href="http://www.sqlite.org/lang_datefunc.html" target="_blank">this</a> correctly, dates/times can indeed be stored as Unix time. My suggestion would be to try and convert a few to see if they match up.</p></blockquote><p></p>
[QUOTE="vansmith, post: 1185544, member: 71075"] My first guess is Unix epoch time. I tried converting the last number there using [URL="http://www.epochconverter.com/"]this[/URL] and it came up with "Sun Jan 30 2011 01:10:27 GMT-0500 (EST)". Does that look right? I know that doesn't help you get them into dates (unless you want to put them in one at a time using that tool) but it should at least give you a sense of what those numbers are. If I read [URL="http://www.sqlite.org/lang_datefunc.html"]this[/URL] correctly, dates/times can indeed be stored as Unix time. My suggestion would be to try and convert a few to see if they match up. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Apps and Programs
Anyone familiar with SQLite databases - specifically how date/time is encoded?
Top