Date

Result = Date ( Expression ) AS Date

يعيد الExpression كقيمة للوقت والتاريخ

Examples

PRINT Now; " -> "; Date(Now)
05/16/2002 15:10:59 -> 05/16/2002

Date = Date ( Year , Month , Day [ , Hours , Minutes , Seconds ] ) AS Date

Makes a date from its Integer components.

Examples

PRINT Date(1972, 09, 06, 1, 517)
09/06/1972 01:05:17

PRINT Date(1972, 09, 06, 1, 517)
PRINT CFloat(Date(1972, 09, 06, 1, 517))
06.09.1972 01:05:17
2473671,04533565

إنظر أيضا