javascript data em portugues
function dataAtualFormatada(){
var data = new Date(),
dia = data.getDate().toString(),
diaF = (dia.length == 1) ? '0'+dia : dia,
mes = (data.getMonth()+1).toString(), //+1 pois no getMonth Janeiro começa com zero.
mesF = (mes.length == 1) ? '0'+mes : mes,
anoF = data.getFullYear();
return diaF+"/"+mesF+"/"+anoF;
}
Also in JavaScript:
- javascript template string
- javascript location redirect
- package.json tilde vs caret
- jquery close another dialog
- get random entry from array javascript
- calling javascript file in html
- how to change css with js
- checkbox default value and checked value get in jquery
- express js sample project
- react js documentation
- JsonConvert.DeserializeObject convert into dynamic datatable
- ejs include dynamic partial
- jsdoc for express routes
- checkbox is checked jquery
- copy to clipboard function javascript
- javascript detect browser
- javacript is checkbox checked
- javascript in array
- flatlist react native horizontal
- get jquery version from console
- paper material ui improt
- get unique id angular
- what is @ atsign in first of file path nodejs
- getpermutation js recursion