ISDateTimeUtils.ConvertStringWDDateRangeToDays

Description

This function converts the specified count of weeks and days to days.

Syntax

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

Return Value

int

Returns the specified count of weeks and days converted to days.

Example

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)  
Note:

In Profile Client v8 on User Interface the count of weeks and days in days format cannot be found.

Version information

Added in v7.8.0