def format_timestamp(t):
	"""Send welcome emails to all new users

	Parameters
	----------
	t : time.struct_time
		A timestamp generated by time.localtime()

	Returns
	-------
	timestamp : dict
		A dictionary of differently formatted versions of the given timestamp

	"""

	timestamp={}
	
	timestamp['original'] = t
	
	t = [t[0], t[1], t[2], t[3], t[4], t[5]]
	timestamp['list'] = t
	
	for i in range(len(t)):
		if(len(str(t[i])) == 1):
			t[i] = ('0' + str(t[i]))
	timestamp['list-padded'] = t
	
	timestamp['filename'] = (str(t[0]) + '_' + str(t[1]) + '_' + str(t[2]) + '_' + str(t[3]) + '-' + str(t[4]) + '-' + str(t[5]))
	timestamp['display'] = (str(t[1]) + '/' + str(t[2]) + '/' + str(t[0]) + ' ' + str(t[3]) + ':' + str(t[4]) + ':' + str(t[5]))
	
	return timestamp