<script> var date = new Date('2016-02-12 23:00:00'); date.setTime(date.getTime() + 1000 * 60 * 60 * 2); alert(date); </script>