/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/Eepipi/Eepipi-00-00-06/src/ee2eepp/basesv5.1/uxdate_.c File Reference

#include <time.h>

Go to the source code of this file.

Functions

void uxdate_ (int *year, int *mon, int *day, int *hour, int *min)


Function Documentation

void uxdate_ ( int *  year,
int *  mon,
int *  day,
int *  hour,
int *  min 
)

Definition at line 4 of file uxdate_.c.

00006 {
00007         struct  tm q;
00008         struct  tm *localtime();
00009         time_t  tp;
00010         time_t  mktime();
00011         time_t  time();
00012         char    *ctime();
00013         char    *date;
00014         
00015 
00016         time(&tp);
00017         date = ctime(&tp);
00018         q = *localtime(&tp);
00019         *year = q.tm_year;
00020         *mon  = q.tm_mon + 1;
00021         *day  = q.tm_mday;
00022         *hour = q.tm_hour;
00023         *min  = q.tm_min;
00024 
00025         return;
00026 }


Generated on Tue Nov 29 23:16:13 2016 for BOSS_7.0.2 by  doxygen 1.4.7