Display Dynamic Time

Hi,
Have a date/time computed field in a form. The formula for this field is @Now.
In the properties for this field, I've set only to display time.

It is displaying time correctly. However, it is not dynamic. When the form is composed, I want to display the time dynamically. I mean show the clock running.

Is this possible?
Kalios
LVL 2
kaliosAsked:
Who is Participating?
 
HemanthaKumarCommented:
You can use NotesTimer and set this field using timer event. You can find an example in help

~Hemanth
0
 
kaliosAuthor Commented:
my help is all messed up. It never returns correct information in the search.

Can you please provide an example
thanks
0
 
Sjef BosmanGroupware ConsultantCommented:
Hemantha's right. Don't search, use the Index, go to NotesTimer.

If not, go to www.lotus.com/ldd then Notes/Domino or so, then Documentation, you'll find the help-files under Products. A warning though: I've tried to solve lots of time(r)-related stuff with a NotesTimer, it proved to be the most unreliable feature under Notes. Don't make things too complicated or you will get very angry users ;)
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
Sjef BosmanGroupware ConsultantCommented:
Your example, from the Help:

Dim elapsedTime As Integer
Dim elapsedTimer As NotesTimer
%INCLUDE "lsconst.lss"

Sub Postopen(Source As Notesuidocument)
  Set elapsedTimer = New NotesTimer(1,  "Elapsed time since opening document")
  elapsedTime = 0
  On Event Alarm From elapsedTimer Call elapsedTimerHandler
End Sub

Sub elapsedTimerHandler(Source As NotesTimer)
  elapsedTime = elapsedTime + 1
End Sub
0
 
p_parthaCommented:
I saw this post yesterday and didn't answer as i knew that Sjef will answer.. Sjef has an affinity for  Notes timer class :)

Partha
0
 
HemanthaKumarCommented:
0
 
Sjef BosmanGroupware ConsultantCommented:
Hi Bro, it's much appreciated! I won't mind if you use my line occasionally... ;)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.