Calendar information

hello again id like to render a blank calendar server side but there is confusing info on the forums about it, can anyone lead me down the correct path on how to do this? i looked breifly at ez_calendar but it confused me, basically i need to populate a calendar (html table) on the server side with data in each date that i pull from a server function,
if the form submitted date is blank to auto make a date in the future i stumbled upon this but its not working

if  scheduledate = "" do
date = Date.utc_today()
date |> Date.add(Time.to_timestamp(8, :days))
  scheduledate = date

it fails with time method not found or similar how do i add x dates in the future to the current date