### 查询系统当前时间
SELECT GETDATE();

### 查询本周周一时间
SELECT DATEADD(WEEK, DATEDIFF(WEEK, 0, CONVERT(DATETIME, GETDATE(), 120) - 1), 0);

### 查询本周周日时间
SELECT DATEADD(DAY, 6, DATEADD(WEEK, DATEDIFF(WEEK, 0, CONVERT(DATETIME, GETDATE(), 120) - 1), 0));
### 查询本周周一时间 
select dateadd(week,0,DATEADD(week,DATEDIFF(week,0,getdate()),0));
### 查询本周周日时间
select dateadd(week,0,DATEADD(week,DATEDIFF(week,0,getdate()),6));
### 查询上周周一时间
select dateadd(week,-1,DATEADD(week,DATEDIFF(week,0,getdate()),0));
### 查询上周周日时间 
select dateadd(week,-1,DATEADD(week,DATEDIFF(week,0,getdate()),6));

android smartTable 标题 table标题标签

一、table标签:定义一个表格 简单表格由table元素以及一个或多个tr(行标签)、th(表头单元格标签)、td(普通单元格标签)<table border=1> <th>表头1</th> <th>表头2</th> <td>内容1</td>