Validating time


Posted on 16th Feb 2014 07:03 pm by admin

Hi Guys

what do you think of the following approach to validate a 24hour time:

http://snipplr.com/view/23007/validate-time/

Are there any better approaches ?

No comments posted yet

Your Answer:

Login to answer
195 Like 51 Dislike
Previous forums Next forums
Other forums

Attempt to assign property of non-object in...
I'm having issues with the following function in PHP 5...

function getTreeWithChildre

PHP Surveys
I really would like some advice.

If you have a client come to you asking for a survey to be d

pull content
I have an existing page, domain/adverts.php which has a good PR. I've just rebuilt my site and the n

Tournament Brackets (Double Elimination)?
Is making a double elimination tournament style bracket system capable of being done in php?

Simple image grab script.
I was wondering if it was possible and if anyone knew how to make a simple php script that looks at

How to disable direct access to a file
Suppose I've 2 Files. 1.php & 2.php

I don't want anybody to access 2.php directly fr

Why do I get this error?
Error:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or

some query on multilingual website
Hi all,

Which is the simplest and easiest method to make a website multilingual,
is it put

Check Date/Time in PHP
What I need the code to check is that $reQuest is 24 hours in the past then return a time based on h

ASP.NET 2.0 - Enter Key - Default Submit Button
Hi,One of the most annoying things in developing web pages is handling the "Enter key" for form subm

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash