This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@james-bennett-295/date
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Date utilities.

Typescript examples

import { JDate } from "@james-bennett-295/date";

const d = new JDate();
/*
 * Year:              %Y
 * Short year:        %y
 * Month:             %f
 * Padded month:      %m
 * Month name:        %B
 * Short month name:  %b
 * Date:              %e
 * Padded date:       %d
 * Padded hours:      %H
 * Padded minutes:    %M
 * Padded seconds:    %S
 */
console.log(`The date is ${d.formatDate("%d/%m/%Y")}`);

Readme

Keywords

none

Package Sidebar

Install

npm i @james-bennett-295/date

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.99 kB

Total Files

5

Last publish

Collaborators

  • james-bennett-295