Gets the from date based on the requested period.
Syntax
Smartsite SXML | Copy Code |
---|---|
datetime smidata.getfromdate(string siteName, enum period) |
Parameters
Name | Data Type | Description |
---|---|---|
siteName | String | Name of the SMI site. |
period | Enum |
The fixed period for which you want to determine the 'from' date, using today as the reference date.
Enum values:
|
Return Value
Data Type | Description |
---|---|
DateTime |