DateTimeBox

Extend from $.fn.datebox.defaults, Override defaults with $.fn.datetimebox.defaults.

Dependencies

Usage

  1. <input id="dt" type="text"></input>  
  1. $('#dt').datetimebox({  
  2.     showSeconds:false  
  3. });  

Properties

The properties extend from datebox, below is the added properties for datetimebox:

Name Type Description Default
showSeconds boolean Defines if to display the second information. true

Methods

The methods extend from datebox, below is the overridden methods for datetimebox.

Name Parameter Description
options none Return the options object.
spinner none Return the timespinner object.
setValue value Set the datetimebox value.