LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-18-2016, 04:34 PM   #16
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Location: Apples
Distribution: Apple-selling shops, markets and direct marketing
Posts: 1,111

Original Poster
Blog Entries: 29

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637

Quote:
Originally Posted by grail View Post
ADDENDUM: Seems I might have jumped the gun. My solution was working but I found that the lastAccessed and creationTime, which I would assume by the names should be dates, both give me very odd date information although the time looks ok, examples:
Code:
lastAccessed has value 1362416667119159 and is a date which is -1413-03-01 13:07:12
creationTime has value 1362416667107908 and is a date which is -1413-03-01 13:07:12
These are just Time-Stamp fields, i.e. counting seconds from one of the epochs. In the case of the cookies-file, they are stored as INTEGERs and it would probably be best to not convert them. Only, the SHP gem cannot work with such large integer-numbers. I may thus choose to convert them to floating point by default. If the user names these fields with the --time parameter, they become formatted as seconds from the Unix-epoch. This is all very unsatisfactory, of course.

Even if it looks like a full blown database format, SQLite is first of all... light. And the SHP gem had been developed with completely different uses in mind. I cannot ask for more, at this time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Converting date feed into different date format keif Programming 5 07-08-2014 08:39 AM
LXer: How to change Thunderbird's date format in Date column LXer Syndicated Linux News 0 07-18-2012 02:11 AM
Date format Bill Jones Linux - Newbie 1 12-23-2006 11:07 AM
date format kalleanka LQ Suggestions & Feedback 9 11-15-2006 11:36 AM
Perl XBase Joins Hans Zilles Programming 0 08-08-2006 11:40 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration