Skip to content

vinodselvin/datetime-plugin

Repository files navigation

Datetime-plugin

Current Build of this plugin supports only Date Format not Datetime, This feature will be included on our next build.

-Vi-datetime plugin v1.1 | (c) Vi Date Time Plugin, Release Date: Sunday, 12th March 2017

Buy Me A Coffee

Getting started

Installation

Include files:

<script src="/path/to/jquery.js"></script><!-- jQuery is required -->
<script src="/path/to/vi-datetime.js"></script>

Usage

<input type='text' class='vi-date' data-vi-format="dd-mm-yyyy">

Output

Alt text

Click here for demo.

Supported Formats

  • Formats: dd-mm-yyyy yyyy-mm-dd mm-dd-yyyy dd-yyyy-mm yyyy-dd-mm mm-yyyy-dd mm-yyyy yyyy-mm dd-yyyy yyyy-dd mm-dd dd-mm yyyy dd mm

Note for Users and Contributors

  • Codes in Master branch, is no more actively maintained, New version of DateTime Plugin is under development at graphical branch