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

 

date_now

#include "sfldate.h"
long
date_now (void)

Synopsis

Returns the current date as a long value (CCYYMMDD). Since most system clocks do not return a century, this function assumes that all years 80 and above are in the 20th century, and all years 00 to 79 are in the 21st century. For best results, consume before 1 Jan 2080.

Source Code - (sfldate.c)

{
    return (timer to date (time (NULL)));
}

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