Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 560 Bytes

File metadata and controls

22 lines (16 loc) · 560 Bytes

Live Nepali Date Time

Getting started

Just include this nepali.js in project and create html elements with specified ids, and you are good to go !

२०७६ असार २७, शुक्रबार
2076 Asar 27, Friday
१७:३१:०७
17:31:07

Setup Guide

  1. Add nepali.js to your project & include nepali.js on your page.
  2. Add HTML element with one of following ids
    DATE_IN_NEPALI
    DATE_IN_ENGLISH
    TIME_IN_NEPALI
    TIME_IN_ENGLISH
  3. Add updateClock() method on onload attribute of your body.

Done !