GetJulianDate

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 07/11/2008 at 11:03, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R10 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
customgui_datetime.h includes a converter function from Gregorian date and time to Modified Julian Days (according to help file, however, the function
> `

GetJulianDay(tagDateTime &t;)

`
does not provide a correct result, it is actually offset from the Julian Date by a day and by far NOT the Modified Julian Day ...

is it only me with this problem or is this a bug in the SDK?

Thanks,
Juergen

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 17/11/2008 at 03:38, xxxxxxxx wrote:

There seems to be indded an offset but for me it's half a day in advance. I will ask the developers if this is a bug.

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 18/11/2008 at 02:12, xxxxxxxx wrote:

It turns out that the offset is intentional due to some internal reasons.

cheers,
Matthias