Skip to content

sharmadhiraj/live-nepali-date-time-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 !