How can I check if something is a hour in this format: HH:mm?
If there is a jquery solution for this it would be better.
Check if it is hour
Moderator: General Moderators
-
klevis miho
- Forum Contributor
- Posts: 413
- Joined: Wed Oct 29, 2008 2:59 pm
- Location: Albania
- Contact:
Re: Check if it is hour
I assume "something" is a string? You could use a regular expression.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.