Das Notes Forum
Domino 9 und frühere Versionen => ND6: Entwicklung => Thema gestartet von: botschi am 08.12.03 - 15:10:23
-
Hallo,
eigentlich bestimmt ganz einfach, aber:
ich möchte bei knopfdruck die aktuelle serverzeit in ein feld schreiben. ich bekomme zwar den servernamen, aber nicht die uhrzeit vom server.
kann mir jemand helfen?
DANKE!
-
Ab R6 hat man eine endlich eine Möglichkeit:
Description: In Release 6 the @Now formula has been enhanced to allow the programmer to specify that the time/date should come from the server and to even specify the name of the server to get it from.
The syntax of @now with the flags is:
@Now( flags ; serverNames )
The optional flags are:
[SERVERTIME] gets the time-date from the server containing the database if serverNames is not specified or from the server listed in serverNames if serverNames is specified.
[LOCALTIMEONERROR] gets the time-date from the local computer if an error occurs getting it from a specified server.
The seond parameter, serverNames is a Text or text list containing a server name or a list of server names. This parameter applies when [SERVERTIME] is specified and is optional.
Andreas