LotusScript, Dates and Times... Oh my
I've been messing with Date/Times here a lot lately and it's behaviour is rather inconsistent to say the least, especially NotesDateTime.LSLocalTime
Sometimes it returns 06/18/2009 01:00:00 PM, other times it returns 6/18/2009 1:00:00 PM. I was wanting to use the Date/Time to do a lookup in a view, but due to the inconsistenc of LSLocalTime I've resorted to converting the Date/Time to a double and using that instead. This behaves much more reliably as you get the same number no matter what. What gave me this idea was this post over on Tim Tripcony 's site which is a rather interesting post and a nice shorthand way of handling date adjustments.
But sometimes I just get frustrated with the way Notes handles Date/Times.











Comments
Date: 06/19/2009 04:51:12 AM
Name: Uwe
Website: http://null
Did you use different notes client versions ? In Notes 8, they changed the behaviour of LSLocalTime.