portableSql

CurrentDate Portable SQL Function

Syntax

CurrentDate as D ()

Returns

resultDate

Returns the current date from the SQL database server.

Description

Get the current date (according to the SQL database server).

Discussion

The CurrentDate function gets the current date from the SQL database server.

CurrentDate() function executed on the Northwind Access database
SELECT FIRST 1 CurrentDate() AS Now FROM Orders
=10/10/2019 12:00:00 00 am