Converting Date AD to BS

Hello everyone I want to convert the date from AD to BS is their a solution for it?

You can write a method for that but I think you’ll have to make changes to database to store that too.

Can you share what will be the format ?

Edit : I tried searching for a format for Nepal locale but could not find it in here : Server Locale

Hello sorry for late reply. I am from Nepal so we use BS ( Bikram Sambat) for the date. As you mention I need to write a method or change to database can you please guide me on this?

For directly converting there is a solution on stackoverflow