This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//I 艾欧泽亚时间 | |
//1. 当前艾欧泽亚时间 | |
let nowET = new EorzeaClock(); // EorzeaClock {date: Sun Jul 27 2955 22:23:11 GMT+0800 (中国标准时间)} | |
// 注意这里的date元素在打印的时候加上了本地时区,但是实际的艾欧泽亚时间是取UTC的时间 | |
//2. 小时分钟字符串(常见表示形式) | |
nowET.toHourMinuteString(); // 14:24 | |
//3. 基于小时的时间差计算(其他的不常用就没有提供) |