Hi Swapnil,
The end routine logic I have specified about will work for your scenario and you don't need a expert routine.
0FISPER
To generate this filed you need date field in the DSO, If the date is available just do a direct mapping which will handle conversion automatically.
Thanks,
Shakthi Raj Natarajan.