This function converts the specified count of weeks and days to days.
object.ConvertStringWDDateRangeToDays(aDataRange)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISDateTimeUtils interface |
|
aDataRange |
In, Required | string |
The specified count of weeks and days |
int
Display the result of converting of the specified count of weeks and days to days.
Dim aDateTimeUtils
Dim aDataRange
Dim aMessage
Set aDateTimeUtils = Profile.DateTimeUtils
aDataRange = "2w 1d"
aMessage = aDateTimeUtils.ConvertStringWDDateRangeToDays(aDataRange) & " days"
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface the count of weeks and days in days format cannot be found.