Codeigniter validating dates Porno chat uk


To use, copy the class below into your application/libraries folder named MY_Form_validation.php, then in your controller use it like any other rule. So I change some code for the CI 2.0.* and PHP 5.3.*.The time can be formatted with or without seconds, and it can be set to European or US format. Takes a “human” time as input and returns it as a UNIX timestamp.If only the timestamp is submitted it will return the time without seconds formatted for the U. This is useful if you accept “human” formatted dates submitted via a form.



For example, to set Pacific time as the default you will do this: Please see the timezone reference below to see the values of this menu.

dd/mm/yyyy## $s_from, $s_to date formats from to i.e.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>