Dear all,
i can get current system and server date and time in formula using @now.
But in Lotus script “Now()” returns system date and time ,i want to fatch current server date and time,plz suggest me the proper function for it.
Thanks…
“Have a nice day”
Subject: current server date & time.Urgent plz…
Hi anand saraf ,
do like this------------------
set tmpDoc = AnyDb.CreateDocument
set DateTime = New NotesDateTime(tmpDoc.Created)
only these two lines
ok dont save the doc
its temporary doc to get server date time
ok there is no need to save it
Subject: RE: current server date & time.Urgent plz…
HI AMAR,
Thanks for ur reply, let me explain my situation. In the view document is opened,view has one button (we can say"doc close"),when user clicks this button,doc. get close and many information related to document will save with the doc. like auther name ,creating time and “closing time”.
I m fatching closing time with following code:
doc.cwcdtClosingDate = Now
but it returns the system time not sever time .
I want to fatch server time for the “ClosingDate” field.
thanks & Regards
Anand Saraf