Android Question AnotherDTP.Getdate to date

Discussion in 'Android Questions' started by DanteS, Jul 14, 2015.

  1. DanteS

    DanteS Member Licensed User

    The methode Getdate of AnotherDTP shows a date in the box, but if you need to operate it, for example to send it to a database, you get an error because the box contains the date in a long variable.
    How can I convert it to text?
  2. DonManfred

    DonManfred Expert Licensed User

    lemonisdead, DanteS and Erel like this.
  3. DanteS

    DanteS Member Licensed User

    Thanks Don
    First I had to do DateTime.DateFormat="MM/dd/yyyy" and then DateTime.Date(dtp_bdate.GetDate)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice