Functions Reference

Table Of Contents
Chapter 14
|
Time functions 199
Chapter 14
Time functions
Time functions calculate times and manipulate time information.
Click a function name for details.
Hour
Format
Hour(time)
Parameter
time - any time value or field of type time
Data type returned
number
Description
Returns a number representing the number of hours in time.
Examples
Hour(“12:15:23”) returns 12.
Hour(Duration) + (Minute(Duration)/60) returns 2.5, when the Duration time
field contains 2:30:15.
If(Hour(HoursWorked) > 8;“Overtime Pay”;“ “) returns Overtime Pay when
the number of hours in HoursWorked is greater than 8.
Hour(CheckIn) returns 3 when the value of CheckIn is 3:24.
This function Returns
Hour, page 199 A number representing the number of hours in a time value.
Minute, page 200 A number representing the number of minutes in a time value.
Seconds, page 200 A number representing the number of seconds in a time value.
Time, page 201 A time result with the specified number of hours, minutes, and seconds.