Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
test [2020/04/16 16:06]
franco
test [2020/04/16 16:26] (current)
franco
Line 2: Line 2:
 <script src="​https://​momentjs.com/​downloads/​moment.min.js"></​script>​ <script src="​https://​momentjs.com/​downloads/​moment.min.js"></​script>​
 <script src="​https://​momentjs.com/​downloads/​moment-timezone-with-data.min.js"></​script>​ <script src="​https://​momentjs.com/​downloads/​moment-timezone-with-data.min.js"></​script>​
-</​html>​ 
- 
-<​html>​ 
 <​script>​ <​script>​
 time = "​2020-04-17T13:​30";​ time = "​2020-04-17T13:​30";​
 localtime = moment.utc(time).local().format('​h:​mm'​);​ localtime = moment.utc(time).local().format('​h:​mm'​);​
 +zone = moment.tz.guess();​
 document.write(localtime);​ document.write(localtime);​
 </​script>​ </​script>​
 +
 +</​html>​
 +
 +<​html>​
 </​html>​ </​html>​