 do (document, $=jQuery, edsc_date=@edsc.util.date, temporalModel=@edsc.page.ui.temporal, plugin=@edsc.util.plugin, page=@edsc.page) ->
 
+  now = new Date()
+  today = Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate())
+  console.log today
   current_year = new Date().getUTCFullYear()
 
   validateTemporalInputs = (root) ->

    datetimepicker.setOptions({
      minDate: min_date,
      maxDate: max_date,
      formatDate: format
    })



    root.find('.temporal-recurring-picker').datetimepicker
      format: 'm-d H:i:s',
      allowBlank: true,
      className: prefix + '-datetimepicker recurring-datetimepicker',
      yearStart: 2007,
      yearEnd: 2007,
      startDate: today,
      onShow: (dp,$input) ->
        updateMonthButtons($(this).find('.xdsoft_month'))
        setMinMaxOptions(root, this, $input, 'recurring')
      onChangeDateTime: onChangeDateTime
      onChangeMonth: (dp,$input) ->
        updateMonthButtons($(this).find('.xdsoft_month'))
      onGenerate: (time, input) ->
        time.setHours(0)
        time.setMinutes(0)
        time.setSeconds(0)

    root.find('.temporal-recurring-year-range').slider({
      min: 1960,
