SQL取出 所有周六 周日的日期 create table SatSun([id] int identity(1,1),[date] datetime,[weekday] char(6)) go declare @datetime datetime,@weekday char(6) set @datetime='2007-1-1' while @datetime<='2007-12-31' begin select @weekday=datename(weekday,@datetime) if…
<html xmlns="http://www.w3.org/1999/xhtml" > <meta charset="UTF-8"> <head> <title>获取当年当月最后一天日期</title> <script language="javascript"> function getLastDay(){ var year = document.getElementBy…