2006 Jul 25 8:17 AM
Hi,
Is there any FM which can convert Calendaer Date to <b>Julian Date</b> format?
Thanks.
Regards,
Madhu
Hi,
Is there any FM which can convert Calendaer Date to <b>Julian Date</b> format?
Thanks.
Regards,
Madhu
2006 Jul 25 8:36 AM
It is not a func mod... but it is pretty straight forward.
data: julian_day(3) type n,
date_aux type d,
date_I_need type d.
first day of the year
concatenate date_I_need(4) '0101' into date_aux.
julian_day = date_I_need - date_aux.
julian_day = julian_day + 1.