?
Solved

Timestamp conversion

Posted on 2004-04-17
1
Medium Priority
?
665 Views
Last Modified: 2013-12-25
Does anyone know how to convert the btrieve 8 byte timestamp value into it's equivalent displayable format ?

According to the doc :

TIMESTAMP values are stored in 8-byte unsigned values representing septa seconds (10 exp 7 seconds) since January 1, 0001 in a Gregorian calendar.

For example the value 629636495320000000  is 1996-03-28 15:38:52

I need a function which does the conversion
0
Comment
Question by:drinkwater
1 Comment
 
LVL 18

Accepted Solution

by:
mirtheil earned 2000 total points
ID: 10850769
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Among the most obnoxious of Exchange errors is error 1216 – Attached Database Mismatch error of the Jet Database Engine. When faced with this error, users may have to suffer from mailbox inaccessibility and in worst situations, permanent data loss.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question