how to add time and date in Static Text

  1. 5 days ago

    hello how to add date and time in a program....

  2. Markus W

    Nov 7 #JeSuisHuman New Zealand, Auc...

    Static text? Are you using a quite old version of Xojo???

  3. Markus W

    Nov 7 #JeSuisHuman New Zealand, Auc...

    And if you look in the documentation then it is written in there.

    Dim CurrentDate as new Date
    StaticText1.text = Str(CurrentDate)
  4. thanks for your answer i already solved it

or Sign Up to reply!