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

 

date_is_future

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

Synopsis

Returns TRUE if the specified date and time are in the future. Returns FALSE if the date and time are in the past, or the present (which will be the past by the time you've read this). Date is specified as a YYYYMMDD value; time as HHMMSSCC.

Source Code - (sfldate.c)

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

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