Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Dynamic Clock possible?

Featured Replies

  • Newbies

Hello, 

I would like to know how to place the current time on a section of my web page, display it a hh:mm am/pm, and for it to change every second without refreshing the browser manually. I would also like to do the same for the date.

Thanks in advanced! 

Edited by Mikhail

Is this a FileMaker question? Don't think so. Edit: now I see . . .

Edited by Rick Whitelaw

Hi Mikhail, and welcome to the FM Forums 

Hello, 

I would like to know how to place the current time on a section of my web page,

 

This Custom Function seems to do this https://www.briandunning.com/cf/1079

To do this natively, as mention, you will see a jump in the screen when it refreshes the screen.

Edited by Lee Smith

The best way to do it is with either a JavaScript or PHP clock in a webviewer, or possibly embedded on the layout.

My question, would be why? Most devices have the time/date available to see at all times.

Also be aware: this was all the rage for a while when webviewers were first introduced.  And it caused a lot of performance issues.  So test very carefully...

  • Author
  • Newbies

Well, I took Josh Ormond's advice, and it worked perfectly! kinda wish it didn't leave a box on my page, ah well.

As Wim said, watch it carefully. It can and will cause performance issues. And you most definitely want anything messing with the timing of actions when you are trying to give the user a good UX, and safe data.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.