SetNow (NotesDateTime - LotusScript®)

Sets the value of a date-time to now (today's date and current time).

Defined in

NotesDateTime

Syntax

Call notesDateTime .SetNow

Usage

This method works by taking a snapshot of the current date-time at the moment that the method is executed. After the method executes, the value of the NotesDateTime object does not update itself to always reflect the current date-time. Its value only changes if you change it explicitly.

Example