What @modified returns server time are

what value the function @modified returnsthat is whether it will return servertime are

local machine time, if server time iam having problem that it is taking my localmachine time

i also used

doc.lastmodified

doc.lastaccessed

but ididnt found any use

Advance thanks

Subject: What @modified returns server time are

AFAIK @modified can return either the server time or the client time. It depends on context!

For example @Modified in a view column will return the time the server thinks that document was modified.

If you have a computed field on a document with the formula @modified this value will initially display the current CLIENT time. This value will be stored as CLIENT time when you initially save the document. If you open the document after a save, then @modified will return the time the document was last saved according to the server. Therefore using @modified in a computed field will result in a stored value that lags one save behind!

Doc.LastModified should display the server time but it is the Last Modified IN THIS FILE i.e. unlike @modified will change according to which replica you are looking at.

If you want to store the time a document was modified according to the server, a computed field with the value @Now([SERVERTIME]) is probably the most reliable way.

HTH - Rufus.

Subject: RE: What @modified returns server time are

Thanks Rufus