You can do this pretty simply. Just split the european date into an array, reverse it, and then join it with dashes.
var euro_date = '30.01.2010';
euro_date = euro_date.split('.');
var us_date = euro_date.reverse().join('-');
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…