26 Matching Annotations
  1. Mar 2017
  2. Feb 2017
    1. Show the number 13.37 with one decimal: <script type="text/javascript"> var num = new Number(13.37); document.write (num.toFixed(1)) </script>

      Javascript to fix round

    1.   DateFormat dateFormat = new SimpleDateFormat("yyyy-mm-dd hh:mm:ss");                                 //to convert Date to String, use format method of SimpleDateFormat class.                 String strDate = dateFormat.format(date);                                 System.out.println("Date converted to String: " + strDate);

      chnage data format

  3. Nov 2016
  4. Oct 2016
  5. Apr 2016
  6. Feb 2016
  7. Jan 2016