Skip to content
  • REST API Mapy.com
  • Pricing
  • FAQ
  • Further uses of Mapy.com
  • News
  • Reference
  • Contact
  • My Account

  • REST API Mapy.com
    • How to start
    • API key
    • Rest API function
      • Map tiles
        • Map tile consumption
      • Geocoding
        • Queries and Data
        • Search area
      • Routing
      • Elevation
      • Static maps
      • Time zones
      • Static Panorama
    • Map libraries
    • Atribution
    • REST API Tutorials
      • How to show map
      • Switching map layers
      • Markers and geometries
      • Static maps
      • Routing
      • Geocoding
      • Suggest
      • Reverse geocoding
      • JS Panorama
      • Static Panorama
      • Getting elevation
      • Local time and time zones
      • Address validation
      • Aerial map with labels
      • Desaturated map
      • Zooming the map while geocoding
      • Matrix routing
      • Displaying the elevation profile of a route
      • Global activities and time zones
    • Testing labs
    • Vibe coding
  • JS Panorama
  • My account
    • How to log in
    • Project and API keys
      • Archiving a API Project
    • API key security
    • Financial settings
      • How to turn on paid consumption
      • Extended tariff
    • Seznam Wallet
    • Consumption history
    • User management
    • Catalog of reference projects
    • Deleting user account
  • Pricing
    • Price calculator
  • Frequently asked questions
  • Further uses of Mapy.com
    • IFrame – embedding map into your own website
    • Mapy.cz URL
    • Calling the Mapy.com mobile application
    • Printed products
  • Contact
  • Terms and conditions

  • My account
  • English English
  • Čeština Čeština
Search
Help menu
  • REST API Mapy.com
    • How to start
    • API key
    • Rest API function
      • Map tiles
        • Map tile consumption
      • Geocoding
        • Queries and Data
        • Search area
      • Routing
      • Elevation
      • Static maps
      • Time zones
      • Static Panorama
    • Map libraries
    • Atribution
    • REST API Tutorials
      • How to show map
      • Switching map layers
      • Markers and geometries
      • Static maps
      • Routing
      • Geocoding
      • Suggest
      • Reverse geocoding
      • JS Panorama
      • Static Panorama
      • Getting elevation
      • Local time and time zones
      • Address validation
      • Aerial map with labels
      • Desaturated map
      • Zooming the map while geocoding
      • Matrix routing
      • Displaying the elevation profile of a route
      • Global activities and time zones
    • Testing labs
    • Vibe coding
  • JS Panorama
  • My account
    • How to log in
    • Project and API keys
      • Archiving a API Project
    • API key security
    • Financial settings
      • How to turn on paid consumption
      • Extended tariff
    • Seznam Wallet
    • Consumption history
    • User management
    • Catalog of reference projects
    • Deleting user account
  • Pricing
    • Price calculator
  • Frequently asked questions
  • Further uses of Mapy.com
    • IFrame – embedding map into your own website
    • Mapy.cz URL
    • Calling the Mapy.com mobile application
    • Printed products
  • Contact
  • Terms and conditions

  • My account

Local time and time zones

This example demonstrates working with the TimeZone API. By clicking on the map, it uses the timezone/coordinate function to retrieve information about the time zone at the selected location and displays the local date and time, the name of the time zone, and the current offset of the local time compared to UTC.

Click on the map to display time information for the selected location.

Leaflet


  • Mapy.com
  • GitHub
  • Terms and conditions
  • Contact API Mapy.com
  • My Account
  • Withdraw consent
Copyright © 1996–2024, Seznam.cz, a.s.