lotus script中比较时间的问题
在有2个域,域的类型都是时间日期的,在代理怎么比较时间的大小啊?
Dim doc As notesdocument
Dim session As New notessession
Set db=session.Currentdatabase
Set doc=session.documentcontext
sj=doc.chr_sj(0) '这里的chr_sj是时间类型的域
if Chr_zysjs>=sj then 'Chr_zysjs也是时间类型域,我就是这里不会写了,这么写比较,会报错,说Type mismatch
......
else
......
end if