Time Zone Converter(时区转换)
Display current time and convert to different time zones with customizable time differences.
Today's Installations
0
Total Installations
113
Creation Date
2023-06-27T11:40:02+00:00
Update Date
2023-06-27T11:58:05+00:00
User Rating
No Rating
v1.1

时间转换脚本

简介

这是一个简单的 JavaScript 脚本,可以将当前时间转换为不同时区的时间,并在网页上显示。您可以添加多个时区,以便随时查看。

使用方法

1.会默认显示当前时间
2.ctrl+alt+Q可以添加时区,输入对应的国家比如(Italy),点击确定,然后输入和我们所在地区的时间差,比如当前为15:00 意大利为10:00,时间差就写-5
3.数据存储到了本地localStorage,因为这个脚本默认运行到所有网页,但是localStorage每个域名下面是不互通的,所以你可以让脚本运行到特定网页,每次需要看的时候就去那里看。

Time Converter Script

Introduction

This is a simple JavaScript script that can convert the current time to a time in a different time zone and display it on a webpage. You can add multiple time zones for easy viewing at any time.

Usage

1.The current time will be displayed by default
2..Ctrl+alt+Q can add a time zone. Enter the corresponding country, such as (Italy), click OK, and then enter the time difference with our region. For example, if Italy is currently at 15:00 and Italy is at 10:00, the time difference will be written as -5
3.The data is stored locally on LocalStorage, as this script runs on all web pages by default. However, LocalStorage is not interconnected under each domain name, so you can have the script run on a specific web page and go there every time you need to view it.

Script Score
empty image
No one has rated the script yet. Be the first to rate it!