Get Current Date/Time

Hello,
is it possible get current date (from phone example) without using an external API?

Thanks
Andrea

@Andrea_Marchisio you can use “timer” component to get and set current date/time etc. :eyeglasses:

2 Likes

Hello,

Do you need to display the current date and time value or use them in some operations?

Can you show an example of this?

Hi,
I save user data registration on firebase, and I’d like to save also the current date as log … just so.
I think I cannot do that with timer (that I already use for Splash screen example) that only count the time.

Thanks
Andrea

… maybe you refer “Clock” block in Android Classic. in X version there is not that :wink:

1 Like

Using the Firebase Javascript API you can save this data to Firebase. Call JavaScript in WebViewer, get date and save it in Firebase.

how to get the time from webviewer to a label?