.
HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1
212-599-2048
Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development
Chat now
.
EN - English
CN - 中文
JP - 日本語
DE - Deutsch
FR - Français
BR - Português
RU - Pу́сский
IT - Italiano
IN - हिन्दी
ES - Español
KR - 한국어
ID - Indonesia
NL - Dutch
TR - Türkçe
SA - العربية
SE - Svenska
NO - Norsk
PL - Polski
TH - ไทย
DK - Dansk
MY - Malay
PH - Filipino
GR - Ελληνικά
FI - Suomi
IL - עברית
IE - Gaeilge
CZ - Čeština
UA - Українська
RO - Română
VN - Tiếng Việt
BD - বাংলা
HU - Magyar
Need a Domino Consultant? Call NotesMail +1 212-599-2048
-
HCLSoftware Business Partner
LOTUSSCRIPT/COM/OLE CLASSES
Examples: SetNow method
1. This script creates a new NotesDateTime object with the default date, and then resets it to the current date and time. For example, if the SetNow method executes at 8:04:04 PM on August 15, 1996, then dateTime represents 08/15/96 08:04:04 PM.
Dim dateTime As New NotesDateTime( "" )
Call dateTime.SetNow
2. This script sets the PurgeDate item in a document to two months from now. For example, if the SetNow method executes at 8:04:04 PM on August 15, 1996, then PurgeDate has a value of 10/15/96 8:04:04 PM.
Dim doc As NotesDocument
'...set value of doc...
Dim dateTime As New NotesDateTime( "" )
Call dateTime.SetNow
Call dateTime.AdjustMonth( 2 )
Set doc.PurgeDate = dateTime
Call doc.Save( True, True )
See Also
SetNow method
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Feedback on
Help
or
Usability
?
Help on Help
All Help Contents