00001
00002
00003 /*---------------------------------------------------------------------------
00004 E.S.O.
00005 ----------------------------------------------------------------------------
00006 File name : t_iso8601.h
00007 Author : N. Devillard
00008 Created on : August 1999
00009 Language : ANSI C
00010 Description : get date and time as ISO8601 format specifies
00011 Note : uses SFL routines to get date and time, without
00012 including SFL itself.
00013 *--------------------------------------------------------------------------*/
00014
00015 /*
00016
00017 $Id: t_iso8601.h,v 1.1 2003/09/03 12:50:47 amodigli Exp $
00018 $Author: amodigli $
00019 $Date: 2003/09/03 12:50:47 $
00020 $Revision: 1.1 $
00021
00022 */
00023
00024 #ifndef _T_ISO8601_H_
00025 #define _T_ISO8601_H_
00026
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030
00031
00032 /*---------------------------------------------------------------------------
00033 Function ANSI C prototypes
00034 ---------------------------------------------------------------------------*/
00035
00036 /*-------------------------------------------------------------------------*/
00050 /*--------------------------------------------------------------------------*/
00051
00052 long date_now (void);
00053
00054
00055 /*--------------------------------------------------------------------------*/
00066 /*--------------------------------------------------------------------------*/
00067
00068 long time_now(void);
00069
00070
00071 /*--------------------------------------------------------------------------*/
00082 /*--------------------------------------------------------------------------*/
00083
00084 char * get_date_iso8601(void);
00085
00086
00087 /*-------------------------------------------------------------------------*/
00099 /*-------------------------------------------------------------------------*/
00100
00101 char * get_datetime_iso8601(void);
00102
00103 #ifdef __cplusplus
00104 }
00105 #endif
00106
00107 #endif
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001