Back to index

lightning-sunbird  0.9+nobinonly
Functions
bdate.c File Reference
#include <stdio.h>
#include <time.h>

Go to the source code of this file.

Functions

void main (void)

Function Documentation

void main ( void  )

Definition at line 55 of file bdate.c.

{
       time_t t = time(NULL);
       struct tm *tms;

       tms = localtime(&t);
       printf("500%02d%03d%02d\n", tms->tm_year, 1+tms->tm_yday, tms->tm_hour);
       exit(0);
}