|
date? obj | bigloo procedure |
Returns #t if and only if obj is a date as returned
by make-date , current-date , or seconds->date . It
returns #f otherwise.
|
make-date sec min hour day mon year [timezone] [dst] | bigloo procedure |
Creates a date object from the integer value passed as argument.
Example:
(write (make-date 0 22 17 5 2 2003 0))
-| #<date:Wed Feb 5 17:22:00 2003>
|
This argument date is either -1 when the information is not
available, 0 when daylight saving is disabled, 1 when daylight
saving is enabled.
|
date-copy date [s] [m] [h] [d] [m] [year] | bigloo procedure |
Creates a new date from the argument date .
Example:
(date-copy (current-date) 1 0 0)
|
|
current-date | bigloo procedure |
Returns a date object representing the current date.
|
current-seconds | bigloo procedure |
Returns an elong integer representing the current date expressed
in seconds.
|
date->seconds | bigloo procedure |
seconds->date | bigloo procedure |
Convert from date and elong .
|
date->string date | bigloo procedure |
date->utc-string date | bigloo procedure |
seconds->string elong | bigloo procedure |
seconds->utc-string elong | bigloo procedure |
Construct a textual representation of the date passed in argument
|
date-second date | bigloo procedure |
Returns the number of seconds of a date, in the range 0...59 .
|
date-minute date | bigloo procedure |
Returns the minute of a date, in the range 0...59 .
|
date-hour date | bigloo procedure |
Returns the hour of a date, in the range 0...23 .
|
date-day date | bigloo procedure |
Returns the day of a date, in the range 1...31 .
|
date-wday date | bigloo procedure |
Returns the week day of a date, in the range 1...7 .
|
date-yday date | bigloo procedure |
Returns the year day of a date, in the range 1...366 .
|
date-month date | bigloo procedure |
Returns the month of a date, in the range 1...12 .
|
date-year date | bigloo procedure |
Returns the year of a date.
|
date-timezone date | bigloo procedure |
Returns the timezone of a date.
|
date-is-dst date | bigloo procedure |
Returns -1 if the information is not available, 0 is the
date does not contain daylight saving adjustment, 1 if it
contains a daylight saving adjustment.
|
+second elong1 elong2 | bigloo procedure |
*second elong1 elong2 | bigloo procedure |
-second elong1 elong2 | bigloo procedure |
=second elong1 elong2 | bigloo procedure |
>second elong1 elong2 | bigloo procedure |
>=second elong1 elong2 | bigloo procedure |
<second elong1 elong2 | bigloo procedure |
<=second elong1 elong2 | bigloo procedure |
Arithmetic operators on seconds.
|
integer->second | bigloo procedure |
Converts a Bigloo fixnum integer into a second number.
|
day-seconds | bigloo procedure |
Returns the number of seconds contained in one day.
|
day-name int | bigloo procedure |
day-aname int | bigloo procedure |
Return the name and the abbreviated name of a week day.
|
month-name int | bigloo procedure |
month-aname int | bigloo procedure |
Return the name and the abbreviated name of a month.
|
leap-year? int | bigloo procedure |
Returns #t if and only if the year int is a leap year.
Returns #f otherwise.
|
|