home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 15 / AACD15.ISO / AACD / Magazine / HomeAutomation / Apache / include / php / ext / standard / datetime.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-03-28  |  2.6 KB  |  58 lines

  1. /* 
  2.    +----------------------------------------------------------------------+
  3.    | PHP HTML Embedded Scripting Language Version 3.0                     |
  4.    +----------------------------------------------------------------------+
  5.    | Copyright (c) 1997,1998 PHP Development Team (See Credits file)      |
  6.    +----------------------------------------------------------------------+
  7.    | This program is free software; you can redistribute it and/or modify |
  8.    | it under the terms of one of the following licenses:                 |
  9.    |                                                                      |
  10.    |  A) the GNU General Public License as published by the Free Software |
  11.    |     Foundation; either version 2 of the License, or (at your option) |
  12.    |     any later version.                                               |
  13.    |                                                                      |
  14.    |  B) the PHP License as published by the PHP Development Team and     |
  15.    |     included in the distribution in the file: LICENSE                |
  16.    |                                                                      |
  17.    | This program is distributed in the hope that it will be useful,      |
  18.    | but WITHOUT ANY WARRANTY; without even the implied warranty of       |
  19.    | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        |
  20.    | GNU General Public License for more details.                         |
  21.    |                                                                      |
  22.    | You should have received a copy of both licenses referred to here.   |
  23.    | If you did not, or have any questions about PHP licensing, please    |
  24.    | contact core@php.net.                                                |
  25.    +----------------------------------------------------------------------+
  26.    | Authors: Andi Gutmans <andi@zend.com>                                |
  27.    |          Zeev Suraski <zeev@zend.com>                                |
  28.    +----------------------------------------------------------------------+
  29.  */
  30.  
  31.  
  32. /* $Id: datetime.h,v 1.6 2000/03/28 20:26:02 sterling Exp $ */
  33.  
  34. #ifndef _DATETIME_H
  35. #define _DATETIME_H
  36.  
  37. PHP_FUNCTION(time);
  38. PHP_FUNCTION(mktime);
  39. PHP_FUNCTION(gmmktime);
  40. PHP_FUNCTION(date);
  41. PHP_FUNCTION(gmdate);
  42. PHP_FUNCTION(localtime);
  43. PHP_FUNCTION(getdate);
  44. PHP_FUNCTION(checkdate);
  45. #if HAVE_STRFTIME
  46. PHP_FUNCTION(strftime);
  47. PHP_FUNCTION(gmstrftime);
  48. #endif
  49. PHP_FUNCTION(strtotime);
  50.  
  51. extern char *php_std_date(time_t t);
  52. void php_mktime(INTERNAL_FUNCTION_PARAMETERS, int gm);
  53. #if HAVE_STRFTIME
  54. void _php_strftime(INTERNAL_FUNCTION_PARAMETERS, int gm);
  55. #endif
  56.  
  57. #endif /* _DATETIME_H */
  58.