Link to home
Start Free TrialLog in
Avatar of ALANC30
ALANC30

asked on

convert date to Julian date in CR 9.0

How can I convert a date to the Julian date in CR9.0?  I do not see a CR function for this.

Thank you
ASKER CERTIFIED SOLUTION
Avatar of ebolek
ebolek

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Emre's link is a good one.  One format of julian date that isn't covered there though.  If you want:

2004128 (Year / Day Number) then use this formula:

DatePart('yyyy',{table.datefield}) * 1000 + DatePart('y',{table.datefield})

frodoman
Avatar of ebolek
ebolek

glad to help

Emre