| iMatix home page
| << | < | > | >>
SFL Logo SFL
Version 2.11

 

date_is_past

#include "sfldate.h"
Bool
date_is_past (long date, long time)

Synopsis

Returns TRUE if the specified date and time are in the past. Returns FALSE if the date and time are in the future or present (which despite any assertion to the contrary, is not the past. Although that may change soon). Date is specified as YYYYMMDD; time as HHMMSSCC.

Source Code - (sfldate.c)

{
    return (date  < date now ()
        || (date == date now () && time < time now ()));
}

| << | < | > | >> iMatix Copyright © 1996-2000 iMatix Corporation