.
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: DateTimeValue property
1. This script uses the DateTimeValue property to place the value of the DateComposed item in a document into a NotesDateTime object. For example, if the DateComposed item contains the value 03/20/96, then the dateTime object represents the date March 20, 1996.
Dim item As NotesItem
Dim dateTime As NotesDateTime
Set item = doc.GetFirstItem( "DateComposed" )
Set dateTime = item.DateTimeValue
2. This script sets the value of the DateApproved item in a document to today's date. For example, if today is January 17, 1996 it sets the DateApproved item to 01/17/96.
Dim doc As NotesDocument
Dim item As NotesItem
Dim dateTime As NotesDateTime
'...set value of doc...
Set item = doc.GetFirstItem( "DateApproved" )
Set dateTime = New NotesDateTime( "Today" )
Set item.DateTimeValue = dateTime
Call doc.Save( False, True )
See Also
DateTimeValue property
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Feedback on
Help
or
Usability
?
Help on Help
All Help Contents