Defined a function that splits the timestamp into date information.
Added 'weekday' to the date_dimension definition.
Included methods for determining special date/time information - all returning False.
Going through facts ensures date and time dimension.
Added dimension ensure for location and products.
Updated the timeofday key in the fact table.
Added all key references in the fact table definition and included a call to ensure for each fact.
memberid is looked up in the member dimension when building the fact table.
Implemented the 'isMorning' and the 'isAfternoon' methods.