|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Yellow is the New BlogBlog Authors: Tim Tripcony |
Quick tip: shorthand date adjustment in LotusScript
Tim Tripcony
|
|
Tags: 
lotusscript
|
Comments (2)
How many times (this week) have you needed an object representing a past or future date in LotusScript? Pretty standard stuff... you instantiate a NotesDateTime with Now, then call an adjustment method to correct the date:
|
A tag is a keyword that is used to categorize an entry. To view the entries with a particular tag, click a tag name or enter a tag in the box.
The tag cloud indicates the frequency of tag use. Popular tags appear darkest. The slider control adjusts how many tags are displayed in the tag cloud.
1 Urs Meli Permalink Hi Tim
The twoliner is more readable too me.
And what's about adjustmonth() ?
A month is not always 30 days in the future....
Kind Regards
urs
2 Ian Bradbury Permalink I have to agree with Urs.
The two lines are much cleaner. I'm sure anyone who's had to
support other peoples code will think the same.