COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: damienm on 11 Feb 2008 11:13:48 PM

Title: Converting Julian Dates
Post by: damienm on 11 Feb 2008 11:13:48 PM
Does anyone know if its possible to convert Julian Dates in FM? or Report Studio even!

I do have a date table but rather than having an extra table I would prefer to have a cal field to do this.

Any help would be much appreciated.

Title: Re: Converting Julian Dates
Post by: arickard on 10 Apr 2008 09:13:48 PM
I don't think I've seen a function that can convert from gregorian to julian dates.

Instead of adding a new table can't you simply add a new column to your date table to represent the julian date. As I understand it every gregorian date should have a coresponding julian date.  When you load data into your date table you could set both the gregorian and julian date.


Julian Date Converter:
http://aa.usno.navy.mil/data/docs/JulianDate.php (http://aa.usno.navy.mil/data/docs/JulianDate.php)

---
Andrew
http://metatheory.wordpress.com (http://metatheory.wordpress.com)