अपनी वेब साइट के लिए नि: शुल्क, अनुकूलन घड़ी विजेट

अपनी वेब साइट पर एक सटीक घड़ी चाहते हैं? या आज की तारीख, सूर्योदय समय, सूर्यास्त के समय या दिन की लंबाई? बस नीचे दिए गए विकल्पों में से चुन सकते हैं और कोड की नकल! यह मुफ़्त है!

विकल्प

स्थान
न्यूयॉर्क, संयुक्त राज्य अमेरिका
अन्य स्थानों के लिए, सही शीर्ष कोने में खोज बॉक्स का उपयोग करें.
क्या प्रदर्शित करने के लिए




समय प्रारूप



दिनांक स्वरूप




 
दिन:
daynameमंगलवार
dnameमंगल
daynum01-31
dnum1-31
day_in_yदिन 1-366
हफ्ते:
weekहफ्ते 21
महीना:
monthnameमई
monthnum01-12
mnum1-12
वर्ष:
year2025
yy25
रंग और आकार
px
यह कैसा दिखेगा
न्यूयॉर्क में समय: 23:54:52
अंतिम परिणाम अपने वेब पेज पर स्टाइल शीट के आधार पर अलग अलग हो सकती है.
आप विजेट आप सीएसएस के साथ चाहते हैं किसी भी तरह शैली कर सकते हैं.

यह अपने स्वयं के वेब घड़ी विजेट के लिए कोड है:

इस्तेमाल की शर्तें

उन्नत उपयोग

समय प्रदर्शित कर सकते हैं जो केवल समय प्रदर्शित करता है जो एक सरलीकृत संस्करण, t.js ,, और मुख्य विजेट स्क्रिप्ट, hi.js , दिनांक: दो विजेट लिपियों रहे हैं , सूर्योदय समय, सूर्यास्त के समय और दिन की लंबाई. मुख्य विजेट स्क्रिप्ट कई भाषाओं में उपलब्ध है. अन्य भाषाओं के लिए, इच्छित भाषा के लिए कोड के साथ स्क्रिप्ट नाम में %1 जगह. (उदाहरण के लिए pl.js पोलिश के लिए, या tr.js तुर्की के लिए.)

Init समारोह के लिए पैरामीटर:

पैरामीटरमान्य कीवर्डडिफ़ॉल्ट मान
templateTIME, DATE, SUNTIME
time_formathours, minutes, seconds, 12hours, AMPMhours:minutes:seconds
date_formatdayname, dname, daynum, dnum, day_in_y, week, monthname, monthnum, mnum, yy, yearyear-monthnum-daynum
sun_formatsrhour, srminute, sr12hour, srAMPM, sshour, ssminute, ss12hour, ssAMPM, dlhours, dlminutessrhour:srminute-sshour:ssminute
coordsस्थान के अक्षांश और देशांतर. सन टाइम्स और दिन की लंबाई प्रदर्शित करने के लिए आवश्यक है.
idसर्वर साइड पर स्थान और समय क्षेत्र की पहचान करने के लिए. स्थान का नाम गैर ascii पत्र शामिल हैं यदि आवश्यक है, और यदि आप HTML तत्व आईडी बदलते हैं.
callback गाया टेम्पलेट पैरामीटर के रूप में साथ हर दूसरे कहा जाएगा कि एक समारोह का नाम. (वैकल्पिक)

पैरामीटर नाम और कीवर्ड मामले संवेदनशील होते हैं. आप टेम्पलेट, time_format, date_format और sun_format मापदंडों में HTML और अन्य सामग्री का प्रयोग कर सकते हैं.

कई घड़ियों में इस तरह बनाया जा सकता है:

UTC time: <span id="UTC_za00"></span><br/>
New York sunrise time: <span id="New_York_z161"></span><br/>
Tokyo sunrise time: <span id="Tokyo_z444"></span><br/>
Find the <a href="https://time.is/" id="time_is_link" rel="nofollow">current time for any location or time zone on Time.is!</a>
<script src="//widget.time.is/hi.js"></script>
<script>
time_is_widget.init({
	UTC_za00 : {},
	New_York_z161 : {
		template: "SUN",
		sun_format: "srhour:srminute",
		coords: "40.71427,-74.00597"
		},
	Tokyo_z444 : {
		coords: "59.33258,18.06490"
		}
	});
</script>

नतीजे:

UTC time: 03:54:52
New York sunrise time: 05:33
Tokyo sunrise time: 04:31
Find the current time for any location or time zone on Time.is!

मूल्य पहले से परिभाषित विजेट के लिए के रूप में ही है, तो आप उन्हें दोहराने की जरूरत नहीं है तो time_format, date_format, sun_format और टेम्पलेट मापदंडों के मूल्यों, विरासत में मिला रहे हैं .

आपकी घड़ी 0.3 सेकंड्स धीमा है.
तुल्यकालन की शुद्धता था ±0.293 सेकंड्स.

Looks like your ad blocker is on.

×

We rely on ads to keep creating quality content for you to enjoy for free.

Please support our site by disabling your ad blocker.

Or get Time.is Ad-free

Continue without supporting us

Choose your Ad Blocker

  • Adblock Plus
  • Adblock
  • Adguard
  • Ad Remover
  • Brave
  • Ghostery
  • uBlock Origin
  • uBlock
  • UltraBlock
  • Other
  1. In the extension bar, click the AdBlock Plus icon
  2. Click the large blue toggle for this website
  3. Click refresh
  1. In the extension bar, click the AdBlock icon
  2. Under "Pause on this site" click "Always"
  1. In the extension bar, click on the Adguard icon
  2. Click on the large green toggle for this website
  1. In the extension bar, click on the Ad Remover icon
  2. Click "Disable on This Website"
  1. In the extension bar, click on the orange lion icon
  2. Click the toggle on the top right, shifting from "Up" to "Down"
  1. In the extension bar, click on the Ghostery icon
  2. Click the "Anti-Tracking" shield so it says "Off"
  3. Click the "Ad-Blocking" stop sign so it says "Off"
  4. Refresh the page
  1. In the extension bar, click on the uBlock Origin icon
  2. Click on the big, blue power button
  3. Refresh the page
  1. In the extension bar, click on the uBlock icon
  2. Click on the big, blue power button
  3. Refresh the page
  1. In the extension bar, click on the UltraBlock icon
  2. Check the "Disable UltraBlock" checkbox
  1. Please disable your Ad Blocker
  2. Disable any DNS blocking tools such as AdGuardDNS or NextDNS
  3. Disable any privacy or tracking protection extensions such as Firefox Enhanced Tracking Protection or DuckDuckGo Privacy.

If the prompt is still appearing, please disable any tools or services you are using that block internet ads (e.g. DNS Servers, tracking protection or privacy extensions).