Ubidots Community

Get clock time of the entries in a variable

i want to get the clock time for every entry of variable instead of its timestamp.

Good day @guptaRiya,

I hope all is well, it is not necessary to include the timestamp when sending data, in case there is none, the timestamp will be the time at which Ubidots received the data and it is presented on a human-readable format, as you can see in the following image.

Please let us know if you need further help or clarification.

All the best,
-Isabel

no,actually i want to show clock time as a widget or i want the clock time as we get timestamp of the values

Good day @guptaRiya

You can create a clock widget in each Dashboard and select the date format you want to show.


image

In case the time you want to display is the timestamp of the value instead of the current time, it will be necessary to create a clock widget using the HTML Canvas widget, which allows you to create custom visualizations for your clients using HTML, CSS, and JavaScript. Please refer to the following article to learn more.

All the best,
-Isabel