20000331-19:06 GMT+1 Victor Szakats <info@szelvesz.hu>

This commit is contained in:
Viktor Szakats
2000-03-31 17:15:15 +00:00
parent f32b908bef
commit 14280fada4
2 changed files with 4 additions and 3 deletions

View File

@@ -33,6 +33,7 @@
* source/rtl/datec.c
* source/rtl/pad.c
* source/rtl/transfrm.c
* source/rtl/seconds.c
* source/vm/itemapi.c
* source/tools/dates2.c
* Date related globals all prefixed with hb_date

View File

@@ -42,7 +42,7 @@
#include <sys\timeb.h>
#endif
double hb_seconds( void )
double hb_dateSeconds( void )
{
#if defined(_MSC_VER)
#define timeb _timeb
@@ -51,7 +51,7 @@ double hb_seconds( void )
struct timeb tb;
struct tm * oTime;
HB_TRACE(HB_TR_DEBUG, ("hb_seconds()"));
HB_TRACE(HB_TR_DEBUG, ("hb_dateSeconds()"));
ftime( &tb );
oTime = localtime( &tb.time );
@@ -64,6 +64,6 @@ double hb_seconds( void )
HB_FUNC( SECONDS )
{
hb_retnd( hb_seconds() );
hb_retnd( hb_dateSeconds() );
}