AD to BS Coverter [ Nepali to English Date Conveter] [VB.net]

Want a Vb.net Class for Converting AD-BS & BS-AD. Download the file  Download Now!! dateConverter.vb-sample (Imp. rename it to dateConverter.vb)  and Write the following after importing the module 🙂

'Example #1
Dim DC as New DATECONVERTER(New Date(1996, 06, 16))
MessageBox.Show("Date in BS : " & DC.ToBS())
MessageBox.Show("Unix Timestamp: " & DC.GetUnixTimeStamp())
'Example #2
Dim DC as New DATECONVERTER()
MessageBox.Show("1996/06/16 in BS : " & DC.ToBS(New Date(1996,06,16))
MessageBox.Show("2053/03/02 in AD : " & DC.ToAD(New Date(2053,03,02))

14 thoughts on “AD to BS Coverter [ Nepali to English Date Conveter] [VB.net]

  • Posted on July 12, 2016 at 8:27 pm

    Dai MessageBox.Show(“2053/03/02 in AD : ” & DC.ToAD(New Date(2053,03,02)) le error diraxa. Type MisMatch re?

    Reply
  • Posted on July 12, 2016 at 9:08 pm

    Try
    MessageBox.Show(“2053/03/02 in AD : ” & DC.ToAD(New Date(2053,03,02).toString())

    Hope This Helps 🙂

    Reply
  • Posted on July 23, 2016 at 10:41 pm

    Thanks for the code. Finally found after a long time of search for this

    Reply
    • Posted on July 23, 2016 at 11:22 pm

      🙂 WC Bro 🇳🇵

      Reply
  • Posted on July 23, 2016 at 11:15 pm

    Was looking for the algorithm. Thanks for sharing.

    Reply
  • Posted on July 24, 2016 at 12:40 am

    Can i get .dll library file for this AD-to-BS Code. I actually use c#. Plz reply soon

    Reply
  • Posted on September 16, 2016 at 11:24 pm

    Hi Dai,
    Code not working
    Error 1 Expression expected. …….dateConverter.vb 37 17

    96 Errors Like this
    will u please provide me the dll

    Reply
  • Posted on December 16, 2016 at 8:47 pm

    dateconverter is not defined?? how to solve it? help me…

    Reply
  • Posted on March 28, 2018 at 12:02 pm

    Why the link is not working for dll file

    Reply
    • Posted on April 10, 2018 at 5:17 pm

      Bro you are late 😀
      Wait for new .dll link or Compile the supplied code to dll youself 🙂
      Thanks

      Reply

Leave a Reply