When working with a Faunadb record that contains a date value, I struggled with using that date in JavaScript. Eventually I got it working like so: