# Date and Time

> How PerformanceGuard handles date and time, and why both matter for performance measurement.

Source: https://docs.capaone.com/performanceguard/get-started/how-does-performanceguard-work/date-and-time/  
Product: PerformanceGuard — a separate CapaSystems product; do not apply this page to any other.

![](/attachments/performanceguard/93e90f35-fb59-4777-bdcf-08791b17abd1.png)Time is an important factor in performance measurement. Not only is it important to know how long it takes for computers to start up, get responses from servers, etc. It can also be vital to know *when* things happen, and that makes date and time settings important.

Let's take a look at date and time settings in PerformanceGuard:

# **One Time Source: Backend Database SQL Server**

In PerformanceGuard the time is always determined by the SQL server that runs the PerformanceGuard backend database. PerformanceGuard agents are synced to the time of that SQL server.

PerformanceGuard inherits locale settings, including date end time formats, from the backend database SQL server. To verify the locale settings in the PerformanceGuard web interface, select **ADMINISTRATION > Setup > Parameters**, and then select the **Date and Time** tab. You can only do this if you're a PerformanceGuard administrator.

Even though PerformanceGuard inherits locale settings, you can configure date and time formats to suit the exact needs of your organization.

# **Date and Time Formats**

You can configure general date and time formats in the PerformanceGuard web interface: Select **ADMINISTRATION > Setup > Parameters**, and then select the **Common** tab. You can only do this if you're a PerformanceGuard administrator.

:::caution
Even though you are able to configure a number of individual date and time formats, make sure to use a consistent format.
:::

:::tip
If you are in doubt about the syntax when you specify date and time formats, several of the parameter descriptions next to the input fields contain useful links.
:::

- **Calendar Parse**: Controls the date and time formats used in most of the custom interval selections in the PerformanceGuard web interface. That's the ones that look like this:

![](/attachments/performanceguard/44341857-2f4b-4ecc-b84b-07048b83bc5e.png)

- **Date Separator**: Controls the date separator used in most custom interval selections (see the previous).
- **Date Drop Down Pattern**: Controls the date format used in a special type of custom interval selector that's only used on the **Advanced TCP Activity** graph. That's the one that looks like this:

![](/attachments/performanceguard/d0aa919e-32c3-430f-80b7-1c7c59fc18c4.png)

- **Time Drop Down Pattern**: Controls the time format used in the custom interval selector that's used on the **Advanced TCP Activity** graph (see the previous).
- **First day of week**: Lets you specify whether the first day of the week should be Sunday or Monday. Specify *0* (zero) for Sunday or *1* for Monday.
- **Date Pattern**: Controls the general date and time format used in the PerformanceGuard web interface.

:::caution
If required, you can configure the time and date formats used on graphs separately; see the following.
:::

## **Date and Time Format on Graphs**

You can configure the time and date formats used on graphs separately from the general date and time settings described in the previous: Select **ADMINISTRATION > Setup > Parameters**, and then select the **Display** tab. You can only do this if you're a PerformanceGuard administrator.

Under **Date formatting and locale settings** you can edit how date, time as well as date/time combinations should be formatted on graphs.

:::caution
If your organization doesn't have a specific requirement for special date and time formats for graphs, the date and time formats for graphs should simply match the general date and time formats defined on the **Common** tab.
:::

:::tip
If you are in doubt about the syntax when you specify date and time formats, several of the parameter descriptions next to the input fields contain useful links.
:::
