Set the 'time part' of a NotesDateTime to something else- how?

Hi all,

I have a 2 NoteDateTime objects dt1 and dt2

I would like to set the time part of dt1 match the time part of dt2

DT1

12/5/03 12:40:00

DT2

12/9/04 15:46:68

How can I set dt1 to be

12/5/03 15:46:68

I have seen adjust hour but Im not sure if or how I can use it for this purpose. The TimeOnly property is read only and not settable

how can I achieve this?

Thanks for the help

Eliese

x

Subject: Set the ‘time part’ of a NotesDateTime to something else- how?

I’m not sure what you’re talking about, but I just set a datetime field to time only and used the following @Command to adjust the time:

@Adjust( dateToAdjust ; years ; months ; days ; hours ; minutes ; seconds ; [ DST] )

Subject: Set DT3 = New NotesDateTime(DT1.DateOnly + " " + DT2.TimeOnly).