Date manipulation arithmetic in lotusscript -


note: not using notesdatetime class efficiency. using native arithmetic in lotusscript 10 times faster critical in application.

i start 2 date/times , adjust 1 become equal other using timenumber add 15 minutes lotusscript date variable.

how can ahend greater astart? run code , see!

dim astart double, ahstart double, ahend double  astart = cdat("18/may/2013 10:45:00: am") ahstart = cdat("18/may/2013 10:15:00 am") ahend = ahstart + timenumber (0, 30, 0)  if ahend > astart     msgbox ahend & " greater " & astart & " ?? incorrect!" else      msgbox ahend & " not greater " & astart & ". correct!" end if 


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -