<h2>english_date_verbose('<var>date</var>')</h2> <p>Returns date in 'verbose' ( Jan. 1, 2010) format.</p> <pre class="brush: php"> english_date_verbose(time()); // returns <?php echo english_date_verbose(time()); ?> </pre> <h2>time_verbose('<var>time</var>', <var>[include_seconds]</var>)</h2> <p>Returns the time into a verbose format (e.g. 12hrs 10mins 10secs).</p> <pre class="brush: php"> time_verbose(time(), TRUE); //returns <?php echo time_verbose(time(), TRUE); ?> </pre> <h2>english_to_db_format(<var>date</var>, <var>[hour]</var>, <var>[min]</var>, <var>[sec]</var>, <var>[ampm]</var>, <var>[delimiter]</var>)</h2> <p>Converts a date from english (e.g. mm/dd/yyyy) to db format (e.g yyyy-mm-dd). The default delimiter parameter is <strong>'/'</strong>.</p> <pre class="brush: php"> english_to_db_format('01/01/2010', 12, 10, 0); // returns <?php echo english_to_db_format('01/01/2010', 12, 10, 0); ?> </pre> <h2>format_db_date(<var>[y]</var>, <var>[m]</var>, <var>[d]</var>, <var>[h]</var>, <var>[i]</var>, <var>[s]</var>)</h2>
</pre> <h2>english_date_verbose('<var>date</var>')</h2> <p>Returns date in 'verbose' ( Jan. 1, 2010) format.</p> <pre class="brush: php"> english_date_verbose(time()); // returns <?=english_date_verbose(time())?> </pre> <h2>time_verbose('<var>time</var>', <var>[include_seconds]</var>)</h2> <p>Returns the time into a verbose format (e.g. 12hrs 10mins 10secs).</p> <pre class="brush: php"> time_verbose(time(), TRUE); //returns <?=time_verbose(time(), TRUE)?> </pre> <h2>english_date_to_db_format(<var>date</var>, <var>[hour]</var>, <var>[min]</var>, <var>[sec]</var>, <var>[ampm]</var>, <var>[delimiter]</var>)</h2> <p>Converts a date from english (e.g. mm/dd/yyyy) to db format (e.g yyyy-mm-dd). The default delimiter parameter is <strong>'/'</strong>.</p> <pre class="brush: php"> english_date_to_db_format('01/01/2010', 12, 10, 0); // returns <?=english_date_to_db_format('01/01/2010', 12, 10, 0)?> </pre> <h2>format_db_date(<var>[y]</var>, <var>[m]</var>, <var>[d]</var>, <var>[h]</var>, <var>[i]</var>, <var>[s]</var>)</h2> <p>Formats a date for the database in (yyyy-mm-dd hh:mm:ss) format. If a value is left out, it will return the current date/time value for that slot.</p> <pre class="brush: php"> format_db_date(2010, 1, 1, 12, 10, 10);