HistoryIntervalBegin¶
Description
Holds the “From” date of the “History” interval.
Syntax
property HistoryIntervalBegin: <String>;
Example
1.) Sets the start date of the History interval to the 1. January 2015.
# PowerShell
$SOS.HistoryIntervalBegin = "2015-01-01"
' VBS
SOS.HistoryIntervalBegin = "2015-01-01"
2.) Sets the start date of the History interval to Yesterday.
# PowerShell
$SOS.HistoryIntervalBegin = Get-Date -Date (Get-Date).AddDays(-1) -Format "yyyy-MM-dd"
' VBS
SOS.HistoryIntervalBegin = Year(DateAdd("d", -1, Now)) & "-" & Month(DateAdd("d", -1, Now)) & "-" & Day(DateAdd("d", -1, Now))
Remarks
This interval is used for the “History” chart and for the value “Size Growth” of other export types. The date format is “YYYY-MM-DD”.