get date and time
Daydream Controller component for A-Frame.
用于JavaScript中计算时间范围。传入时间戳,就可以计算时间戳所处当天、当周(周一为第一天)、当月、当年的时间范围。