<?php defined( 'BASEPATH' ) or die( 'Restricted' ); /* This code is copyright 2009-2010 by TMLA INC. ALL RIGHTS RESERVED. Please view license.txt in /tgsf_core/legal/license.txt or http://tgWebSolutions.com/opensource/tgsf/license.txt for complete licensing information. */ /* Time shorthands for time calcs */ enum( 'DT_TIME_', array( 'MINUTE' => 60, 'HOUR' => 3600, 'DAY' => 86400, 'WEEK' => 604800 )); /* Date formats */ enum( 'DT_FORMAT_', array( 'SQL' => 'Y-m-d H:i:s', 'SQL_DATE' => 'Y-m-d', 'SQL_TIME' => 'H:i:s', 'SQL_START' => 'Y-m-d 00:00:00', 'SQL_END' => 'Y-m-d 23:59:59', 'UI_SHORT' => 'm/d/Y g:i A', 'UI_MED' => 'm/d/Y g:i:s A T', 'UI_LONG' => 'D, m/d/Y g:i:s A T (P)', 'UI_DATE' => 'm/d/Y', 'UI_TIME' => 'g:i A' ));