This property returns the utils which contain the functionality for working with date and time.
object.DateTimeUtils
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
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)