first of all
: thanks for the PFC it's very handy when talking PowerBuilder :)
: I've found some bugs while using n_cst_datetime (of_Julian and of_Gregorian) functions... they are returning weird values... (probably missed some 1900 checks and also gets lost when considering leap years)
Well I've done some research myself and fixed it... I've based my calculations on the U.S. Naval Observatory formulas. (
I'll be happy to give you guys the fixed code.
Calculate the datetime and date instead of only date.
Calculate the leap years properly
Calculate the Excluded Gregorian dates on October 4 ~15 of 1582 CE.
Since Powerbuilder works with dates on CE (Common Era) I've also created a check for that.
Please let me know how can i send you the fix code, so you guys don't have to go over it again...
Once again thanks you all...
Ruanito Machado Pombo