<slide>
<title>Storing date/time in a database</title>

<blurb>If you want to store a time for an appointment for a group of people
all in different timezones—store a *specific point in time*:</blurb>
<example><![CDATA[{
	'title' : 'Meeting about getting rid of Daylight Saving Time',
	'time' : { 
		'ts': ISODate("2018-04-19 15:27:32"),
		'tz': 'Europe/London',
	},
	'attendees' : [ 'Arthur David Olson', 'Paul Eggert' ],
}]]></example>
<break />

<blurb>If you want to future proof a specific date and time (Oct 1st,
13:00)-ie, storing a time in *local time*:</blurb>
<example><![CDATA[{
	'title' : 'Giving a talk: Advanced Date/Time handling with PHP',
	'time' : { 
		'dt': '2018-04-18 19:40',
		'tz': 'Europe/London',
	}
}]]></example>
</slide>
