App Inventor 2 : How to get time and date?

There is simple way to get time and date on App Inventor using timer component.We can get local time and date with timer.Here there is simple image

We use as source and we use pattern to get what we needed.

  • dd Day
  • MM Month
  • yyyy Year
  • HH Hour (Time zone – 24) if we use hh we get time zone -12
  • mm Minute
  • ss Secons

We split result at every ” / ” so we can get list and then we can use it like image .If we want get hour we need select list item 4.

simple 🙂

Leave a Reply

Your email address will not be published.