1 |
<?php
|
2 |
//$Header: /hl/cvsroots/gpl01/gpl01/webprojs/fboprime/sw/phplib/datefuncx.inc,v 1.2 2006/11/04 21:09:31 dashley Exp $
|
3 |
//********************************************************************************
|
4 |
//Copyright (C)2006 David T. Ashley
|
5 |
//********************************************************************************
|
6 |
//This program or source file is free software; you can redistribute it and/or
|
7 |
//modify it under the terms of the GNU General Public License as published by
|
8 |
//the Free Software Foundation; either version 2 of the License, or (at your
|
9 |
//option) any later version.
|
10 |
//
|
11 |
//This program or source file is distributed in the hope that it will
|
12 |
//be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
//GNU General Public License for more details.
|
15 |
//
|
16 |
//You may have received a copy of the GNU General Public License
|
17 |
//along with this program; if not, write to the Free Software
|
18 |
//Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
19 |
//********************************************************************************
|
20 |
//Dave Ashley, 04/06
|
21 |
//
|
22 |
//This source file contains date and time calculation and
|
23 |
//manipulation functions.
|
24 |
//
|
25 |
require_once("datefunc.inc"); //Basic date functions.
|
26 |
//
|
27 |
//================================================================================
|
28 |
//================================================================================
|
29 |
//==== R A W C A L C U L A T I O N ==========================================
|
30 |
//================================================================================
|
31 |
//================================================================================
|
32 |
//
|
33 |
//================================================================================
|
34 |
//================================================================================
|
35 |
//==== S T R I N G M A P P I N G ============================================
|
36 |
//================================================================================
|
37 |
//================================================================================
|
38 |
//
|
39 |
//Returns the string associated with an ordinal month number 1-12.
|
40 |
//
|
41 |
function DATEFUNC_string_month_short($month_no)
|
42 |
{
|
43 |
return(SubStr(DATEFUNC_string_month_long($month_no), 0, 3));
|
44 |
}
|
45 |
//
|
46 |
//--------------------------------------------------------------------------------
|
47 |
//End of $RCSfile: datefuncx.inc,v $.
|
48 |
//--------------------------------------------------------------------------------
|
49 |
?>
|