23 lines
593 B
PHP
23 lines
593 B
PHP
/* Date/time functions
|
|
*
|
|
* (c) Copyright 2001-2005, ITB CompuPhase
|
|
* This file is provided as is (no warranties).
|
|
*/
|
|
#if defined _time_included
|
|
#endinput
|
|
#endif
|
|
#define _time_included
|
|
#pragma library Time
|
|
|
|
native gettime(&hour=0, &minute=0, &second=0);
|
|
native settime(hour=cellmin, minute=cellmin, second=cellmin);
|
|
native getdate(&year=0, &month=0, &day=0);
|
|
native setdate(year=cellmin, month=cellmin, day=cellmin);
|
|
native settimestamp(seconds1970);
|
|
|
|
native settimer(milliseconds, bool: singleshot=false);
|
|
native tickcount(&granularity=0);
|
|
native delay(milliseconds);
|
|
|
|
forward @timer();
|