I have to set a notesdatetime-value with a timevalue from a mailheader (rfc822-format) “Mon, 23 May 2005 07:32:05 -0400”
It’s no problem for me to write the string “Mon, 23 May 2005 07:32:05” into a notesdatetime-variable:
Set dateTime = New NotesDateTime( “Mon, 23 May 2005 07:32:05”), but how can I give the datetimevariable the 4 hours of the timezone?
I need a way to convert the RFC822 format into notesdatetimevalue…Only after that I’m able to calculate timedifferences between several dates.
Has anybody an idea? I only know the opposite: getting a timezone, when I have a notesdatetime)
(Unfortunately it’s a bit urgent, because I have to finish it until tomorrow…)
Many thanks in advance!
Isa