Skip to content

A simple class to convert nepali date to english and vise versa, included here both php and c++ version

Notifications You must be signed in to change notification settings

nirajan-pant/Nepali-Date-Convert

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

A simple class to convert date from English Date (After Christ AD) to Nepali (Bikram Shambat - BS) and vise versa.
Repository includes both PHP and C++ version of the code.

PHP Example:

	$cal = new Nepali_Calendar();
	print_r ($cal->eng_to_nep(2008,11,23));
	print_r($cal->nep_to_eng(2065,8,8));

Also included in repository is demo.php
you can view demo at http://happy-igniter.co.cc/lab/nepali_cal/demo.php

About

A simple class to convert nepali date to english and vise versa, included here both php and c++ version

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 58.7%
  • C++ 40.5%
  • C 0.8%