lhdatas
v1.0.2
Published
A simple library to deal with dates in JS
Downloads
4
Readme
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.