このメソッドは、Datetime の値を現在のシステムの日時に設定します (タイムゾーンおよびサマータイム設定も含まれます)。
LCDatetime
Call lcDatetimeObject.SetCurrent
Option Public
Uselsx "*lsxlc"
Sub Initialize
Dim stopWatch As New LCDateTime
stopWatch.setcurrent
Print "The time is " & stopWatch.text
End Sub
The time is 09/08/1999 05:22:02.85 PM