           unixtime = new Date( Date.parse( attribute.value ) )
         else
           unixtime = new Date( attribute.value )
-        year     = unixtime.getYear() + 1900
+        year     = unixtime.getFullYear()
         month    = unixtime.getMonth() + 1
         day      = unixtime.getDate()
         hour     = unixtime.getHours()

              time = new Date( Date.parse( "#{year}-#{format(month)}-#{format(day)}T00:00:00Z" ) )
              if time && time.toString() is 'Invalid Date'
                throw "Invalid Date #{year}-#{format(month)}-#{format(day)}"
              time.setMinutes( time.getMinutes() + time.getTimezoneOffset() )
              param[ namespace[0] ] = "#{time.getFullYear()}-#{format(time.getMonth()+1)}-#{format(time.getDate())}"
            catch err
              param[ namespace[0] ] = undefined
              console.log('ERR', err)

          time = new Date( Date.parse( "#{year}-#{format(month)}-#{format(day)}T00:00:00Z" ) )
        else
          time = new Date()
        #time.setMinutes( time.getMinutes() + diff + time.getTimezoneOffset() )
        item.closest('.form-group').find("[name=\"{date}#{name}___day\"]").val( time.getUTCDate() )
        item.closest('.form-group').find("[name=\"{date}#{name}___month\"]").val( time.getUTCMonth()+1 )
        item.closest('.form-group').find("[name=\"{date}#{name}___year\"]").val( time.getUTCFullYear() )

      item.find('.js-today').bind('click', (e) ->
        e.preventDefault()
