Problem in tracing server time

Hi All I am working on an attendence database.so i have to capture sign time and sign out time .Both time should be server time.I have used doc.created,doc.LastModified,doc.LastAccessed

I have written the follwing code

For Last Modified:

Dim ws As New notesuiworkspace

Dim doc As notesdocument

Set Session=New Notessession

Set doc = ws.currentdocument.document

Msgbox doc.LastModified

For last accessed:

Dim ws As New notesuiworkspace

Dim doc As notesdocument

Set Session=New Notessession

Set doc = ws.currentdocument.document

Msgbox doc.LastAccessed

but both are taking local pc time so how can i capture server time.Plz give me some suggestion…

Regards

Animesh Kumar

Subject: Problem in tracing server time

@Now([ServerTime]) is probably the most reliable way!

AFAIK LastModified won’t reflect the server time until the document is saved.

HTH - Rufus.

Subject: RE: Problem in tracing server time

No man it is not working for check just change the timezone of your local PC then check…it will not work

Subject: duplicate post – answer in other thread