Convert Julian (Date) to Short Date Format

G

Guest

Is there a function to simply convert a Julian Date to a normal date, i.e.
5257 to 09/14/05?

Thanks, SKB
 
D

Dirk Goldgar

SKB said:
Is there a function to simply convert a Julian Date to a normal date,
i.e. 5257 to 09/14/05?

Does this example help?

Dim djul As String
Dim dt As Date

djul = "5257"
dt = DateSerial(Left(djul, 1), 1, 0) + Right(djul, 3)
 
G

Guest

Dirk, I see - parse the fields and apply the function; works like a champ!

Thanks, Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top