Abstract out the code to convert a timestamp into the day of the week
Populate URL fields