@nsisodiya But mainintaing a database will require certain checkpoints. Like if we know at a certain time , the bikram sanvat date was such and such then we can find dates before and after it upto certain dates. But , that kind of way won't be useful if I want to find a date in real past or future, say Birth of Christ in Bikram samvat.