Skip to content
On this page

useFormatDate

Reactive current Format Date

Usage

ts
import { useFormatDate } from '@use-kit/vue-hooks'

const ret = useFormatDate() // default: YYYY-MM-DD hh:mm:ss
const ret = useFormateData('hh:mm:ss')
import { useFormatDate } from '@use-kit/vue-hooks'

const ret = useFormatDate() // default: YYYY-MM-DD hh:mm:ss
const ret = useFormateData('hh:mm:ss')

Released under the MIT License.