在ls裏取當前時間的兩種寫法
------第一種--------------------
Dim nowDate As NotesDateTime
tem = Now
Set nowDate = tem(0)
------第二種--------------------
set s as new notessession
Set nowDate = s.CreateDateTime(Now)
第一種會存在問題,但不知原因何在.
第二種就會很正常.
在ls裏取當前時間的兩種寫法
------第一種--------------------
Dim nowDate As NotesDateTime
tem = Now
Set nowDate = tem(0)
------第二種--------------------
set s as new notessession
Set nowDate = s.CreateDateTime(Now)
第一種會存在問題,但不知原因何在.
第二種就會很正常.
https://stackoverflow.com/questions/419163/what-does-if-name-main-do