The <dfn>delimiter</dfn> parameter determines whether to include the time or not. </p> <pre class="brush: php"> english_date(time()); // returns <?php echo english_date(time()); ?> </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 <?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>
<p>Returns a date in 'english' (mm/dd/yyy) format. The <dfn>long</dfn> parameter determines whether to include the time or not. The <dfn>timezone</dfn> parameter determines whether to include the time or not. The <dfn>delimiter</dfn> parameter determines whether to include the time or not. </p> <pre class="brush: php"> english_date(time()); // returns <?=english_date(time())?> </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);