If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > Pervasive 11/convert Julian date

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-29-11, 06:30
badenbaden badenbaden is offline
Registered User
 
Join Date: Aug 2011
Posts: 1
Pervasive 11/convert Julian date

Hi,

I have a problem with changing Julian date fromat (7 digits) to Gregorian.
For example: 2455793 should be 2011-08-19.
Any idea for Pervasive SQL script?

Thanks
badenbaden
Reply With Quote
  #2 (permalink)  
Old 08-29-11, 08:20
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
There isn't a built-in function to convert from Julian to Gregorian dates in PSQL. You would want to use a function within your programming environment to convert the dates.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On