This function returns the local date and time.
object.Now()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISDateTimeUtils interface |
DateTime
Display the local date and time.
Dim aDateTimeUtils
Dim aCurrentDT
Dim aMessage
Set aDateTimeUtils = Profile.DateTimeUtils
aCurrentDT = aDateTimeUtils.Now
aMessage = "Local Date and Time: " & aCurrentDT
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface the local date and time can be found in
or in .