> ## Documentation Index
> Fetch the complete documentation index at: https://docs.safesquid.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Time Profiles

> Configure SafeSquid Time Profiler to implement time-based internet access control using customizable time ranges including month, day, weekday, hour, and minute.

# Enforce access by time range

Time Profiler enforces time-based internet access using configurable ranges: month, day, weekday, hour, and minute. Create Time Profile entries as combinations of these ranges; SafeSquid allows or blocks categories and websites according to the active profile.

## Enable Time Profiler

1. Access the [SafeSquid interface](/Configuration_Portal).

2. Navigate to **Configure** page.

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/SlZF1_GUujOepiEn/images/Configure/Custom_Settings/Time_Profiler/image1.webp?fit=max&auto=format&n=SlZF1_GUujOepiEn&q=85&s=88159c16db550f5808e5404c391f6421" alt="Configure page" width="1280" height="720" data-path="images/Configure/Custom_Settings/Time_Profiler/image1.webp" />

3. Click **Custom Settings** in the sidebar.

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/SlZF1_GUujOepiEn/images/Configure/Custom_Settings/Time_Profiler/image2.webp?fit=max&auto=format&n=SlZF1_GUujOepiEn&q=85&s=2550f624f667fa2fde10e694e16987c0" alt="Custom Settings" width="1280" height="720" data-path="images/Configure/Custom_Settings/Time_Profiler/image2.webp" />

4. Select **Time Profiler**.

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/SlZF1_GUujOepiEn/images/Configure/Custom_Settings/Time_Profiler/image3.webp?fit=max&auto=format&n=SlZF1_GUujOepiEn&q=85&s=db8633e3b12ae8e72616225d25ad3ef8" alt="Time Profiler section" width="1280" height="720" data-path="images/Configure/Custom_Settings/Time_Profiler/image3.webp" />

## Configuration Options

### Global Settings

| Setting     | Description                                               |
| ----------- | --------------------------------------------------------- |
| **Enabled** | TRUE: Enable time profiles. FALSE: Disable time profiles. |

<img src="https://mintcdn.com/safe-squid-labs-12a0916f/SlZF1_GUujOepiEn/images/Configure/Custom_Settings/Time_Profiler/image4.webp?fit=max&auto=format&n=SlZF1_GUujOepiEn&q=85&s=03b035788e093d1eeaac3e6fb7f3b6f6" alt="Global section" width="1280" height="720" data-path="images/Configure/Custom_Settings/Time_Profiler/image4.webp" />

### Time Profiles Tab

SafeSquid evaluates entries from top to bottom. All entries within the time range are applicable.

<img src="https://mintcdn.com/safe-squid-labs-12a0916f/SlZF1_GUujOepiEn/images/Configure/Custom_Settings/Time_Profiler/image5.webp?fit=max&auto=format&n=SlZF1_GUujOepiEn&q=85&s=f7f465b454f9514d6c9fd3275197a032" alt="Add new policy" width="1280" height="720" data-path="images/Configure/Custom_Settings/Time_Profiler/image5.webp" />

<img src="https://mintcdn.com/safe-squid-labs-12a0916f/SlZF1_GUujOepiEn/images/Configure/Custom_Settings/Time_Profiler/image6.webp?fit=max&auto=format&n=SlZF1_GUujOepiEn&q=85&s=23a67b1ed78753bbe9658b2ba162e53d" alt="Time profiles tab" width="835" height="346" data-path="images/Configure/Custom_Settings/Time_Profiler/image6.webp" />

### Entry Settings

| Field                     | Description                                                                                                  |
| ------------------------- | ------------------------------------------------------------------------------------------------------------ |
| **Enabled**               | TRUE/FALSE - Enable or disable this entry                                                                    |
| **Comment**               | Documentation explaining the entry's purpose                                                                 |
| **Trace Entry**           | TRUE/FALSE - Enable debugging in SafeSquid logs                                                              |
| **Time Profiles**         | List of Time Profiles for applicability. Leave blank to ignore. Use negation (! Weekday) to exclude profiles |
| **Month Range**           | Active months (default: all months). Example: January to March                                               |
| **Day Range**             | Active days (default: all days). Example: 5 to 15                                                            |
| **Weekday Range**         | Active weekdays (default: all). Example: Monday to Thursday                                                  |
| **Hour Range**            | Active hours (default: all). Example: 9 to 12 (9 AM to 12 PM)                                                |
| **Minute Range**          | Active minutes in conjunction with Hour Range. Example: 15 to 30                                             |
| **Time Match Mode**       | ABSOLUTETIME or ALLRANGES. See the **Time Match Modes** section below for details on each mode               |
| **Added Time Profiles**   | Profiles to append when entry matches                                                                        |
| **Removed Time Profiles** | Profiles to remove when entry matches                                                                        |

### Time Match Modes

**ABSOLUTETIME:** Matches any time between starting and ending time only.

* Example: Weekday Monday-Friday, Hour 9-17
* Active from Monday 9 AM to Friday 5 PM continuously

**ALLRANGES:** Matches time within all specified ranges.

* Example: Weekday Monday-Friday, Hour 10-17
* Active every day Monday-Friday between 10 AM and 5 PM

## Examples

### Example 1: Standard Office Hours

Office hours: 10 AM to 9 PM, Monday to Friday.

| Field               | Value                 |
| ------------------- | --------------------- |
| Hour Range          | 10 to 21              |
| Weekday Range       | Monday to Friday      |
| Added Time Profiles | STANDARD OFFICE HOURS |

<img src="https://mintcdn.com/safe-squid-labs-12a0916f/SlZF1_GUujOepiEn/images/Configure/Custom_Settings/Time_Profiler/image7.webp?fit=max&auto=format&n=SlZF1_GUujOepiEn&q=85&s=3c7be281a465d40b3a3caae5f536a675" alt="Office hours rule" width="1205" height="240" data-path="images/Configure/Custom_Settings/Time_Profiler/image7.webp" />

### Example 2: Lunch Hours

Lunch hours: 2 PM to 2:30 PM, Monday to Friday. Allow Social Media during lunch.

| Field               | Value                |
| ------------------- | -------------------- |
| Hour Range          | 14 to 14             |
| Minute Range        | 0 to 30              |
| Weekday Range       | Monday to Friday     |
| Added Time Profiles | STANDARD LUNCH HOURS |

<img src="https://mintcdn.com/safe-squid-labs-12a0916f/SlZF1_GUujOepiEn/images/Configure/Custom_Settings/Time_Profiler/image8.webp?fit=max&auto=format&n=SlZF1_GUujOepiEn&q=85&s=6f6cdba185623ab1c8755adc1e1a46d6" alt="Lunch hours rule" width="1202" height="278" data-path="images/Configure/Custom_Settings/Time_Profiler/image8.webp" />


## Related topics

- [Time Profiler](/admin_guide/policies_and_profiles/time_profiler.md)
- [Access Profiles](/admin_guide/policies_and_profiles/access_profiles.md)
- [Allow Social Networking Sites During Lunch Hours](/use_cases/access_restriction/allow_social_networking_sites_during_lunch_hours.md)
- [Security Logs](/use_cases/audit_and_forensics/security_logs.md)
- [Profiling Engine](/use_cases/profiling_engine/profiling_engine.md)
