Date-time, now

@Mark
And another question !!

Is it possible to refresh the YC column every second or 10seconds

I made a little script to get the UTC date but I have to transmit a now to refresh every 10 seconds.

I did a test with a SetTimeOut () SetInterval but without success

Here is the script

https://replit.com/@ManuN2/DateUTC#function.js

“The date/time at form submission” is the same as “Now”.

At the moment YC columns don’t refresh automatically. Maybe we’ll add that at some point.

1 Like

Ok good,
thank you for your patience :slight_smile:

but if you add the current time parameter to YC … it will not refresh?

It should.

1 Like

Yes it works
See here :

thats what i was thinking… by experimenting with address… it refreshing every character was added

Yes it refreshes when the line is modified, but I had to add a “The date / time at form submission” to have an automatic update

did you put from math column NOW() ? this is refreshing every 3 seconds or 5

no, i wanted to make a simple example with a single column.
But at home, the Math column with a Now updates every 10 seconds.

in free app… if i remember good, in pro i had every 3-5 sec, but i might be wrong

1 Like

you can get a permanent adjustment from geolocation of a user
https://maps.googleapis.com/maps/api/timezone/json/?parameters

It’s just to get the UTC system time.
After that we can add lots of stuff

yes, but once you get geolocation adjustment… you dont need to refresh script… just add value to glide current time

@ThinhDinh

Why only have the date?

what else is on your mind? :wink:

Just like a NOW but in UTC and not locally.

i thought this is what we are talking about now…
it would be good if glide have native global time function, that would help in lots of cases…

2 Likes