lhdatas

1.0.2 • Public • Published

README

Uma Biblioteca JS Simples, para manuzeio de datas. A simple library to deal with Dates in JS.

Operações Suprotadas - Supported Operations

  • getInicioDia:
    • retorna um objeto Date representando o inicio do dia.
    • returns a Date object representing the beginging of the day.
  • getFinalDia:
    • retorna um objeto Date representando o final do dia.
    • returns a date representing the beginging of the day.
  • getInicioMes:
    • retorna um objeto Date representando o inicio do mes.
    • returns a Date object representing the beginging of the month.
  • getFinalMes:
    • retorna um objeto Date representando o final do mes.
    • returns a Date object representing the end of the month
  • getInicioAno:
    • retorna um objeto Date representando o inicio do ano.
    • returns a Date object representing the beginging of the year.
  • getFinalAno:
    • retorna um objeto Date representando o final do ano.
    • returns a Date object representing the end of the year.
  • formatarDataDbs:
    • retorna uma string no formato: YYYY-MM-DD HH:MM:SSZ. (ANO-MES-DIA HORA:MIN:SEGUNDOSZ)
    • returns a string into the format: YYYY-MM-DD HH:MM:SSZ. (YEAR-MONTH-DAY HOUR:MINUTES:SECONDSZ)
  • getNomeMes:
    • retorna o nome do mes passado como paramêtro, na linguagem do browser.
    • returns the name of the month pass as parameter, into the browser language.

Readme

Keywords

none

Package Sidebar

Install

npm i lhdatas

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

4.25 kB

Total Files

3

Last publish

Collaborators

  • lokidarkeden