thank you for your help, but the problem was really ironique it was the date in their system " i don't know why it went everytime to 2002 ".So when i corrected the date the calculation was right.