Domino 9 und frühere Versionen > ND6: Entwicklung
Einen Tag abziehen
Wiesel:
Hallo!
Wie kann ich im Lotus Script sagen, dass ich das heutige Datum minus einem Tag haben möchte?
Cdat(Today)-1
????
Vielen Dank!
Wiesel
koehlerbv:
Dein Cdat ist überflüssig, ansonsten hast Du doch die richtige Syntax bereits ...
Bernhard
m3:
Call notesDateTime.AdjustDay( n% [, preserveLocalTime ] )
Increments a date-time by the number of days you specify.
n%
Integer. The number of days by which to increment the date-time. Can be positive or negative.
preserveLocalTime
Boolean. Optional. Affects adjustments that cross daylight-saving boundaries. Specify True to increment or decrement the GMT time by one hour such that a 24-hour adjustment yields the same local time in the new day. If this parameter is False or omitted, GMT time remains as adjusted and local time gains or loses an hour.
Die Designer-Hilfe ist Dein Freund.
Wiesel:
Danke Bernhard :o)
koehlerbv:
Martin, da schiesst Du aber mit Kanonen auf Spatzen ...
Bernhard
Navigation
[0] Themen-Index
[#] Nächste Seite
Zur normalen Ansicht wechseln