It's easy to use Vue Use Date APIs to parse, validate, manipulate, and display dates and times.
# 🚀 Introduction
It's easy to use Vue Use Date APIs to parse, validate, manipulate, and display dates and times. vue-use-date
.
# 🚀 Features
- Reactivity system with Vue.js.
- Written in Javascript.
# 📦 Installation
# install with yarn
yarn add vue-use-date
# install with npm
npm install vue-use-date
# ⭐️ Usege
Name | Arguments | Returns |
---|---|---|
useDate | initial | format, timeAgo, getDate, utc, timezone, difference |
# 💐 Example
You can see how it changes reactively using the example below.
Language: en
Format: Monday, June 14, 2021 8:19 AM
TimeAgo: 2 months ago
GetDate: 14
Difference: 1105
Utc: Monday, June 14, 2021 8:19 AM
Timezone: 06/14/2021 4:19 AM