date是什么意思

来源:百度知道 编辑:UC知道 时间:2024/06/21 07:59:02

Date 日期和时间数据:

日期和时间数据由有效的日期或时间组成。例如,有效日期和时间数据既包括"4/01/98 12:15:00:00:00 PM",也包括"1:28:29:15:01 AM 8/17/98"。在 SQL Server 2000 中,日期和时间数据使用 datetime 和 smalldatetime 数据类型存储。使用 datetime 数据类型存储从 1753 年 1 月 1 日至 9999 年 12 月 31 日的日期(每个数值要求 8 个字节的存储空间)。使用 smalldatetime 数据类型存储从 1900 年 1 月 1 日至 2079 年 6 月 6 日的日期(每个数值要求 4 个字节的存储空间)。

Date 日期函数,包括有:

DATEDIFF() ——计算两个日期间的间隔。
DATEPART() ——返回日期或日期时间列的指定部分,包括日、月或年。
GETDATE()或Date() ——以日期时间的格式返回当前日期。对于许多其它日期函数,该函数作为输入函数很有用,如计算距当天之前或之后的时间间隔。

date 1  

/ deɪt; det/ n
1, [C] (a) specific numbered day of the month, or
specific year, usu given to show when sth happened or is to happen 日期; 日子; 年份:
Today's date is the 23rd of June. 今天是6月23日. *
`What's the date?' `The 10th.' ‘日期是几号?’‘10号.’ *
Has the date of the meeting been fixed?
开会的日期决定了吗? *`When was the date of the Battle of
Waterloo? ' `June 1815.