| Allegro CL version 8.2 Unrevised from 8.1 to 8.2. 8.1 version |
Arguments: date-time
Returns the value in the hourf
(fractional hour)
slot of date-time, which must be a date-time
object. The
value is nil
if the slot is not
set. Otherwise it is a non-negative rational less than 1. This value
cannot be changed with setf and this function.
(require :datetime) (use-package :util.date-time) ;; date-time is 1985/04/12 10:15:30, that is 15 and a half ;; minutes after 10 AM April 12, 1985. (setq a (date-time "1985-04-12T10:15:30")) (date-time-hourf a) -> 31/120 ;; = 15.5 minutes
See date-time.htm for information on support in Allegro CL for parsing and generating time expressions using the ISO 8601 standard.
Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.
| Allegro CL version 8.2 Unrevised from 8.1 to 8.2. 8.1 version |