The date time picker is used to select & apply time periods for continuous monitoring and load tests via two separate modes as explained below.

- Test Run Mode: Used for applying time periods for load test runs, applying various time-based presets, and managing test phases. Users will be checking this mode when they need to run specific tests, analyze the results of those tests in detail, and manage different phases of the test runs. In Test Run Mode, users can:
  - Apply presets from the Test Run section.
  - Switch to Always On Monitoring. (if monitoring session is available)
  - Set the time using the "Select From Calendar" section.
  - Switch to another test using the "Switch to Another Test" option.
  - Apply presets from the "Recently Used" section.
- Always-On Monitoring Mode: Used for ongoing CMT Test Run monitoring, applying time-relative presets, and managing named time windows.Users will be checking this mode for continuous and real-time monitoring of system performance related to CMT Test Runs. In Always-On Monitoring Mode, users can:
  - Apply presets from "Relative to Current Time," "Relative to Calendar Unit," and "Named Time Windows."
  - Set the time using the "Select From Calendar" section.
  - Switch to another Test. (If Test Runs are available)
  - Use shortcuts available in the "More" section.
  - Apply settings from the "Recently Used" section.

# Test Run

Users can view the start and end times of a test run directly and manage test run phases using the "Manage Test Phase" button.

For running Test Runs, users can apply the following presets:

- Past 10 Minutes: To see data from the past 10 minutes.
- Past 30 Minutes: To see data from the past half-hour.
- Past 1 Hour: To see data from the past hour.
- Past 4 Hours: To see data from the past 4 hours.
- Whole Test: To see data from the entire duration of the Test Run.
- Scenario defined phases: these phases are specified in the Test Run Scenario. By default, the phases include "Start", "Ramp-Up", "Stabilization", "Duration", and "Ramp-Down'', but users can modify these and add additional phases as needed.
- User Defined Phases: These phases are created by users through the dashboard widget's "Add Test Phase" menu.

For completed Test Runs, users can apply these presets:

- Whole Test: To see data from the entire duration of the Test Run.
- Scenario defined phases: These phases are specified in the Test Run Scenario. By default, the phases include "Start", "Ramp-Up", "Stabilization", "Duration", and "Ramp-Down'', but users can modify these and add additional phases as needed.
- User Defined Phases: These phases are created by users through the dashboard widget's "Add Test Phase" menu.

## Manage Test Phase

In the Manage Test Phase window, users can either apply system-defined test phases or apply and delete user-defined test phases.

## Global Action Items

- Search Box: Users can search values across all columns in the table. Simply type the keyword, and the table will instantly filter results to display only the matching rows.
- Refresh: Users can use the Refresh icon to update the table.
- Column Filter: Users can use the Column Filter icon to filter values by specific columns.
- Manage Columns: Users can use the Manage Column icon to show or hide columns and rearrange their sequence.
- Download: Users can use the Download icon to export table data in PDF, Word, CSV, and Excel formats.

### Test Phase

The Test Phase section displays all available Test Phases with the following information for each entry:

- Name: The name of the test phase.
- Start Time: The start time of the test phase.
- End Time: The end time of the test phase.
- Type: Indicates whether it is scenario-defined or user-defined.
- Action: Users can apply or delete the test phase.

# Always On Monitoring

The user can now open the CMT test by switching to Always on Monitoring mode by applying the below presets.

- Relative to Current Time
  These presets are relative to the current time. You can apply them at the following intervals: past 15 minutes, past 1 hour, past 4 hours, past 1 day, past 2 days, past 1 week, past 1 month, and past 3 months. For example if the current time is 2:55 PM, then the past 1 hour would be from 1:55 PM to 2:55 PM,
- Relative to Calendar Unit
  These presets are relative to calendar units such as Today, Yesterday, This Hour, This Week, This Month, This Quarter, This Year, Last Hour, Last Week, Last Month, Last Quarter, and Last Year for analyzing and monitoring data across different time frames. For example if the current time is 2:55 PM, then the last hour would be from 1:00 PM to 2:00 PM.
- Named Timed windows
  Users can apply system-defined presets or user-defined customized time periods and manage them using the "Manage Named Time Windows" button. System-defined named time windows will cover the past 15 months for major events such as Black Friday, Christmas Day, Cyber Monday, Good Friday, New Year's Day, President's Day, and Thanksgiving Day.

## Manage Named Time Window

Users can use this button to apply, add, edit, and delete user-defined named time windows, as well as apply system-defined named time windows. System defined named time windows cannot be deleted/edited.

## Global Action Items

- Search Box: Users can search values across all columns in the table. Simply type the keyword, and the table will instantly filter results to display only the matching rows.
- Add Named Time Window: Users can add new named time windows by clicking on this icon. Users need to specify the from time (Start Time), To (end time), and name for the time window.
- Refresh: Users can use the Refresh icon to update the table.
- Column Filter: Users can use the Column Filter icon to filter values by specific columns.
- Manage Columns: Users can use the Manage Column icon to show or hide columns and rearrange their sequence.
- Download: Users can use the Download icon to export table data in PDF, Word, CSV, and Excel formats.

### Named Time Windows

The Named Time Windows section displays all available named time windows with the following information for each entry:

- Name: The name of the named time window.
- Start Time: The start time of the named time window.
- End Time: The end time of the named time window.
- Type: Indicates whether it is system-defined or user-defined.
- Action: Users can apply, edit, or delete the named time window.

## Select From Calendar

Users can now apply custom time by selecting this option. A calendar will open in a new window, allowing users to choose the start date and time as well as the end date and time, then apply their selections.

## More

Users can now use shortcuts for applying time periods relative to the current time or enter date and time in the following formats:

- For relative time periods: `m` for minutes, `h` for hours, `d` for days, `w` for weeks, and `mo` for months.

Acceptable Date Formats:

- MM/DD/YYYY - MM-DD-YYYY - MM-DD-YY - Month date - Month date, year

Acceptable Time Format:

- HH:MM

## Switch To Another Test

Users can now switch Test Runs directly from the time filter by selecting this option. A new window will open with a list of all test runs, and users can choose which phase they want to apply from the phase list column and click "Apply" to confirm their choice.

## Recently Used

Users can now access recently applied time periods through this section. The "Recently Used" section stores up to the last 20 applied presets and custom times within the same mode (Test Run or Always-On Monitoring). When users switch to another mode, the recently used presets will be cleared.