INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Date format

Date format

(OP)
I am trying to export data out of Adapt CRM the date formats are 6 digit numbers for example 732840.

I need to convert this to a readable date format.

Any Ideas....

RE: Date format

You'll need to contact Adapt to find out the way they store dates.  They obviously don't use the Btrieve date data type.
You might put  a series of known dates and try to figure out the method yourself. For example, what date the value 732840 correspond to within Adapt?

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

RE: Date format

(OP)
I figured it out the date is based on the number of days since year 0000, Once I formated it in excel I realized it was just off by 1900 years.

Thank you Don for your help.

Bob

RE: Date format

I work with an application that uses the same date format.  Would any one know of the correct function to use to convert into a date through PSQL.  I can do the conversion usind DateSerial after linked to MS SQL or MS Excel, but I was curious to see what the equivalent would be when creating a PSQL view from the Pervasive Control Center.

The date format in the application is the number of days since 01/01/0001.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close