Time Functions

Description

Portable SQL time functions.

Name
Description
AddHoursToDateTime

Get the date and time value NrOfHours hours ahead of DateTime.

AddMinutesToDateTime

Get the date and time value NrOfMinutes minutes ahead of DateTime.

AddSecondsToDateTime

Get the date and time value NrOfSeconds seconds ahead of DateTime.

CurrentTime

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

Hour

Extract the hour from a date or time value.

HoursBetweenDateTimes

Get the difference in hours between two date or time values.

Minute

Extract the minutes from a date or time value.

MinutesBetweenDateTimes

Get the difference in minutes between two date or time values.

Now

Get the current system time.

Second

Extract the seconds from a date or time value.

SecondsBetweenDateTimes

Get the difference in seconds between two date or time values.