|
hour
|
The hourfunction returns the hour of a Date or Time argument. The value of the
hour is calculated on the basis of a 24 hour clock and ranges from 0 (12:00 AM) to 23 (11:00 PM).
When to use The hour function is used to extract the hour component from a
Date/Time object.
(hour date-value ) (hour time-text ) (hour Julian-date ) An Integer that represents the hour component of the argument
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types date-value An Analytic Information Server Date value Date time-text A time string in the form "hh:mm:ss AM/PM" where hh is the number of hours (0-24),
mm in the number of minutes (0-60), ss is the optional number of seconds (0-60)
and AM/PM optionally specifies morning or afternoon. If you use 12 hour time,
you must include AM or PM; if you use 24 hour time, do not include AM or PM. String Text Julian-date A Julian date with a fraction extension representing the time for that date.
The first two digits after the decimal point in the serial number correspond to a
fraction of a 24 hour day. For example 0.00 corresponds to 12:00 AM; 0.25 corresponds
to 6:00 AM; 0.50 corresponds to 12:00 Noon and so on. Date
Returns:
Examples
Argument Types
Number
Date
String
Text
Integer
How do I contact the AIS team?