Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

formatar data com jquery

var data = '2016-12-08 00:00:00.0';
var dataFormatada = data.replace(/(d*)-(d*)-(d*).*/, '$1-$2-$3');
console.log(dataFormatada);
Comment

PREVIOUS NEXT
Code Example
Javascript :: how to update a function to accept a name and have it displayed in JavaScript 
Javascript :: javascript remove last charcter from string 
Javascript :: why my expo token change each time 
Javascript :: Expressions 
Javascript :: force light theme in react native 
Javascript :: how to enter js in html 
Javascript :: discord.js blank field 
Javascript :: moment get end of next moenth 
Javascript :: in which table our redux option values are save 
Javascript :: save action hide element in jquery 
Javascript :: nodejs postgresql scalar query 
Javascript :: pase de fotos automatico javascript 
Javascript :: react state scope 
Javascript :: javascipt toggle two buttons 
Javascript :: processing map in javascript 
Javascript :: js stringConstructor type 
Javascript :: Uncaught TypeError: jQuery(...).jqGrid is not a function 
Javascript :: curly j 
Javascript :: xrm javascript get value from form 
Javascript :: why does my react project dosent have any class 
Javascript :: configure column menu in kendo grid angular to hae only locked 
Javascript :: javascript farbige konsole in node 
Javascript :: dom-to-image bad quality 
Javascript :: puppeteer sign in to popup facebook 
Javascript :: target all element besides the clicked one 
Javascript :: express js continous GET /json/version 
Javascript :: gatsby underline link if page is active 
Javascript :: chai expect array without order 
Javascript :: angular router navigate base href 
Javascript :: jquery not calling id from div called in ajax 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =