Jump to content

Last Friday of each month: Difference between revisions

m
(CoffeeScript)
m (→‎{{header|CoffeeScript}}: remove dead code)
Line 135:
return last_day.toDateString()
i -= 1
days_in_month = (year, month) ->
# This is a dirty trick; there may be a nicer API.
new Date(year, month+1, 0).getDate()
 
print_last_fridays_of_month = (year) ->
Line 164 ⟶ 160:
Fri Dec 28 2012
</lang>
 
 
=={{header|Go}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.