w2ui
Home
Get started
Demos
Docs
Blog
Support
Layout
Grid
Toolbar
Sidebar
Tabs
Form
Popup
Utilities
ver 1.3
ver 1.4
ver 1.5
ver 2.0
Utilities
Overview
Properties
Methods
Other
Events
Plugins
w2utils.isTime
Returns true if
str
is a valid time.
isTime(str)
str
string
, string to validate
Both formats 10:20pm and 22:20 are supported
var a = w2utils.isTime('25:00'); console.log(a);
User Comments
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus