SpaceObServer.Application.Properties.HistoryIntervalBegin

<< Click to Display Table of Contents >>

Navigation:  OLE Automation > Application > Properties >

SpaceObServer.Application.Properties.HistoryIntervalBegin

Description

Holds the "From" date of the "History" interval.

 
Syntax

property HistoryIntervalBegin: <String>;

 
Example

1.)

   $SOS.HistoryIntervalBegin = "2015-01-01" #PowerShell

   SOS.HistoryIntervalBegin = "2015-01-01" 'VBS

Sets the start date of the History interval to the 1. January 2015.

2.)

   $SOS.HistoryIntervalBegin = Get-Date -Date (Get-Date).AddDays(-1) -Format "yyyy-MM-dd" #PowerShell

   SOS.HistoryIntervalBegin = Year(DateAdd("d", -1, Now)) & "-" & Month(DateAdd("d", -1, Now)) & "-" & Day(DateAdd("d", -1, Now)) 'VBS

Sets the start date of the History interval to Yesterday.

 
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".