Generic Function | Package: util.date-time | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## date-time-yd-day

Arguments: date-time

Returns the value in the `yd-day` (day in year) slot of date-time, which must be a `date-time` object. The value is `nil` if the slot is not set. Otherwise it is an integer from 1 to 366. 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-yd-day a) -> 102 ;; 31+28+31+12 for April 12

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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version