.
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: AdjustHour method
1. This script increments a NotesDateTime object by two hours, so that it represents 04/16/96 07:36:00 PM.
Dim dateTime As New NotesDateTime( "04/16/96 05:36 PM" )
Call dateTime.AdjustHour( 2 )
2. This script decrements a NotesDateTime object by two hours, so that it represents 04/16/96 03:36:00 PM.
Dim dateTime As New NotesDateTime( "04/16/96 05:36 PM" )
Call dateTime.AdjustHour( -2 )
3. This script increments a NotesDateTime object by ten hours. This carries the date over to the next day, so that it represents 04/17/96 03:36:00 AM.
Dim dateTime As New NotesDateTime( "04/16/96 05:36 PM" )
Call dateTime.AdjustHour( 10 )
4. This script creates a NotesDateTime object set to today's date and increments it by 24 hours. The date-time does not have a time component, but since 24 hours crosses a day boundary, the date component is incremented by 1 day.
Dim dateTime As New NotesDateTime( "Today" )
Call dateTime.AdjustHour( 24 )
See Also
AdjustHour method
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Feedback on
Help
or
Usability
?
Help on Help
All Help Contents