This function converts the specified count of weeks and days to weeks.
object.ConvertStringWDDateRangToWeeks(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 |
Single
Display the result of converting of the specified count of weeks and days to weeks.
Dim aDateTimeUtils
Dim aDataRange
Dim aMessage
Set aDateTimeUtils = Profile.DateTimeUtils
aDataRange = "2w 3d"
aMessage = aDateTimeUtils.ConvertStringWDDateRangToWeeks(aDataRange) & " weeks"
Profile.MsgBox(aMessage) In Profile Client v8 on User Interface the count of weeks and days in week format cannot be found.