awkward compare relative time
const spacetime=require('spacetime')
let now = spacetime.now('Canada/Eastern');
let time=now.time()
let date=now.format('iso-short')
//client time
let client = now.goto("America/Los_Angeles");
client=client.set(date)
client=client.time(time)
let dif = now.diff(client, 'minute');
no comments