MongoDB Schema Design for Time Tracking
Store the times in UTC and their timezone offset.
const now = new Date();console.log( now.getTime() );console.log( now.getTimezoneOffset() );
Store the times in UTC and their timezone offset.
const now = new Date();console.log( now.getTime() );console.log( now.getTimezoneOffset() );