setting up custom date functions, begin styling date block