Periscope Data Documentation

Connecting to Periscope

First Time Connecting

Connection Definitions

Common Connection Errors

Private Network SSH Tunnels

Integrations

Overview

Getting Started

Keyboard Shortcuts

Charts & Dashboards

Chart Overview

Chart Options

Dashboard Overview

Refresh Mechanics

Organizing Charts

Organizing Dashboards

Table-like Charts

Table Overview

Cohort Grids

Pivot Tables

Graph-like Charts

Overview & General Settings

Chart Types and Settings

Mixing Chart Types

Map Charts

Map Chart Overview

Heatmaps

Clusters and Bubbles

Satellite Maps

GeoJSON

Other Charts & Customizations

Pie Charts

Image Charts

Chart Annotations

Site Administration

Adding Users

Removing Users

User Types

User Groups

Two-Factor Authentication

Managing User Permissions

Dashboard Permissions

Site Preferences

Query Management

Periscope Cache

Caching Strategies

Querying the Periscope Cache

Cross-Database Joins

CSV Upload

Materializing Views

SQL Formatters

Using SQL Formatters

Composing SQL Formatters

Dollars and Percentages

Time Zone Formatters

Date Aggregation

Date Parts

Basic Filters

Custom Filters

Date Range Filters

Aggregation Filter

Adding, Moving, and Hiding Filters

Advanced Filters

Default Filters

Drilldowns

Parent-Child Filters

Matching Filter Values

Time Zone Conversions

Direct Replacement

User Friendly Names

Views

SQL Views

Joining to Views

More SQL Tools

SQL Snippets

Parameterized SQL Snippets

SQL Alerts

Automatic Joins

Sharing and Embedding

Sharing Dashboards Externally

Email Reports

Easy Embedding

Embed API

Embed API Options

Public CSV URL

Slack API

Slack Linking Reports

Data Management

Adding and Deleting Datasource

Spaces: Data-Level Permissions

Improving Query Throughput

Revoking Table Permissions

Salesforce Datasource

Schema Browser

SSO Integrations

Overview

Okta

OneLogin

Google Apps

Time Zone Formatters

To view this documentation for the Periscope Classic UI, click here.

Converting Time Zones

Convert a datetime to to a given timezone by putting the time zone name in brackets, e.g.

select [created_at:pst] from users -- Convert created_at to Pacific Time
select [created_at:est] from users -- Convert created_at to Eastern Time

To verify Periscope's timezone math, click on the "Query" tab to display the expanded SQL.

Supported Time Zones

The following timezones are currently supported:

USA:

:est
:cst
:mst
:pst
:hawaii

South America:

:pet
:brt
:cot

Europe:

:gmt
:wet
:cet
:eet

Africa

:eat

Israel:

:israel

India:

:ist

Australia:

:awst
:acst
:acdr
:aest
:aedt

New Zealand:

:nzst

South Korea:

:kst

Southeast Asia:

:wib
:myt
:sgt

UTC:

:utc

US Daylight Savings Time

American time zones use the current UTC offset to convert all dates. They will be off by one hour for historical time ranges with alternating daylight savings time offsets.

To perform the (more expensive) historically accurate conversion, prepend an "h" for "historical", e.g.:

select [created_at:hpst] from users
select [created_at:hmst] from users
select [created_at:hcst] from users
select [created_at:hest] from users