Clock ( )
CF for displaying a running time in a webviewer
Average rating: 3.8 (59 votes) Log in to vote
DW Data Concepts
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
|zagino, Zagreb, Croatia
Oct 26, 2009
|Does not work under Windows XP & fmp 10 A ???|
|Richard Hyams, Oceanside, NY
Oct 28, 2009
|Asked Don twice over the past two weeks to briefly explain how this custom function can be implemented. Maybe he didn't receive e-mail. I hope he will see this note and explain how to implement this custom function.|
|Tara Ingram, Beezwax Datatools, Oakland, CA
Jan 26, 2010
|Here is a revised version that is working for us on Windows. Windows uses IE to render WebViewer content, and Mac uses Safari.
document.getElementById(\"clock\").firstChild.nodeValue = currentTimeString;¶
document.getElementById(\"clock\").innerHTML = currentTimeString;¶
Thanks go to Alex Gibbons @Beezwax Datatools.
Aug 5, 2011
|this does not renders on iwp on IE.|
Dec 5, 2011
|What would be the code addition to add the current date as well?|
|Sean Kelley, Westfield, NJ
Apr 18, 2013
|How can I use the web viewer running clock in a calculation field? i'm trying to build a
backtimer and FM does not support a running clock function without using a script trigger.
Jul 30, 2014
|Works great on FMPro 13 (Mac OS 10.9.4) Thanks a lot for this useful bit of code!|
|joe lewis, Burbank
Aug 10, 2018
|How can I increase the size of the return text?|
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.