Title: Nyasro Nepali Date Converter
Author: nyasro
Published: <strong>2013 年 6 月 25 日</strong>
Last modified: 2020 年 7 月 5 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/nyasro-nepali-date-converter.svg)

# Nyasro Nepali Date Converter

 作者：[nyasro](https://profiles.wordpress.org/nyasro/)

[下载](https://downloads.wordpress.org/plugin/nyasro-nepali-date-converter.2.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/nyasro-nepali-date-converter/#description)
 * [评价](https://cn.wordpress.org/plugins/nyasro-nepali-date-converter/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/nyasro-nepali-date-converter/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/nyasro-nepali-date-converter/#developers)

 [支持](https://wordpress.org/support/plugin/nyasro-nepali-date-converter/)

## 描述

Nyasro Nepali Date Converter is plugin with widget which convert Nepali Date to 
English Date and English Date to Nepali Date.
 You can use following shortcode either
to display today’s nepali date or to convert english-nepali date, anywhere in the
post or pages.

 * Use `[ny_dateconvert]` to show today nepali date.
 * Use `[ny_dateconvert date='{date}']` to convert nepali date to english date.
 * Use `[ny_dateconvert date='{date}' convert='{type}']` to convert nepali to english
   date or english to nepali date.

Where,

 * {date} format is `YYYY-MM-DD` [`YYYY` : four digit year, `MM` : one or tow digits
   month, `DD` : one or digits day]
 * {type} format is `eng_to_nep` or `nep_to_eng`

This plugin have special widget which allows user interface to convert english-nepali
date or vice versa.
 You can use following shortcode to display nyasro nepali date
converter widget.

 * Use `[ny_datewidget]` to show date converter widget anywhere in your post or 
   pages.

Not only that but also it has date converter _widget_ for _theme widgets_ named **
Nyasro Nepali Date Converter**,
 which you can use to show date converter from _Dashboard
> Appearance > Widgets_ section in your theme sidebar.

If you are a developer then use following _PHP_ code for date converter.

 * To show today’s nepali date :
 *     ```
       <?php
   
           if(function_exists('_Nyasro_todayDate'))
               _Nyasro_todayDate();        
   
       ?>
       ```
   
 * To convert english-nepali date or vice versa:
 *     ```
       <?php
           if(function_exists('_Nyasro_NepaliDateConverter'))
               _Nyasro_NepaliDateConverter( $date, $conversion);
       ?>
       ```
   

_where `$date = YYYY-MM-DD` and `$conversion = eng\_to\_nep | nep\_to\_eng`._

 * To show date converter widget or box:
 *     ```
       <?php
           if(function_exists('_Nyasro_NepaliDateConverterWidget'))
               _Nyasro_NepaliDateConverterWidget();
       ?>
       ```
   

## 屏幕截图

[⌊Nyasro Nepali Date Converter⌉⌊Nyasro Nepali Date Converter⌉[

Nyasro Nepali Date Converter

[⌊Nyasro Nepali Date Converter on theme Widgets area⌉⌊Nyasro Nepali Date Converter
on theme Widgets area⌉[

Nyasro Nepali Date Converter on theme Widgets area

## 安装

This plugin is installed just like any other WordPress plugin. More [detailed installation instructions](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins)
are available on the WordPress Codex.

If you want manual installation:

 1. Download Nyasro Nepali Date Converter
 2. Extract nyasro-nepali-date-converter.
 3. Upload this folder with files inside to `../wp-contents/plugins/`
 4. Activate the plugin in _Dashboard > Plugins_
 5. Drag and drop from widget area if you want for sidebar.
 6. Use shortcodes for require features.
 7. Enjoy the converter. And then consider donating.

## 常见问题

### What does this plugin do?

You can either display today’s nepali date or convert english-nepali date or vice
versa.

### What are date formats that I can use with this plugin ?

You can use only four digits year, two or one digits month and two or one digits
day in this order `YYYY-MM-DD`,
 where YYYY is year (ex. 2012), MM is month (ex.
11) and DD is day (ex. 25)

### Still have some questions ?

you can message us if you have any problem regarding this plugin or anything to 
ask.
 [nyasro@gmail.com](https://cn.wordpress.org/plugins/nyasro-nepali-date-converter/nyasro@gmail.com?output_format=md)

## 评价

![](https://secure.gravatar.com/avatar/18eebdb0eefb41e300d7fc51184a91f2ab404345cd546e900f068ef00d945cda?
s=60&d=retro&r=g)

### 󠀁[Great](https://wordpress.org/support/topic/great-4994/)󠁿

 [bikashthapa](https://profiles.wordpress.org/bikashthapa/) 2016 年 9 月 3 日

Awesome plugin , Working fine !

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/nyasro-nepali-date-converter/reviews/)

## 贡献者及开发者

「Nyasro Nepali Date Converter」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ nyasro ](https://profiles.wordpress.org/nyasro/)

[帮助将「Nyasro Nepali Date Converter」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/nyasro-nepali-date-converter)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/nyasro-nepali-date-converter/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/nyasro-nepali-date-converter/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/nyasro-nepali-date-converter/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/nyasro-nepali-date-converter/)。

## 更新日志

#### 2.0.1

 * Fixed some deprecated code.

#### 2.0

 * Conversion file included with plugin.

#### 1.0

 * First version of plugin.

## 额外信息

 *  版本 **2.0.1**
 *  最后更新：**6 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 2.8 或更高版本 **
 *  已测试的最高版本为 **5.4.24**
 *  语言
 * [English (US)](https://wordpress.org/plugins/nyasro-nepali-date-converter/)
 * 标签
 * [date converter](https://cn.wordpress.org/plugins/tags/date-converter/)[nepal](https://cn.wordpress.org/plugins/tags/nepal/)
   [nepali](https://cn.wordpress.org/plugins/tags/nepali/)[nepali date](https://cn.wordpress.org/plugins/tags/nepali-date/)
   [nepali date converter](https://cn.wordpress.org/plugins/tags/nepali-date-converter/)
 *  [高级视图](https://cn.wordpress.org/plugins/nyasro-nepali-date-converter/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/nyasro-nepali-date-converter/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/nyasro-nepali-date-converter/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/nyasro-nepali-date-converter/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/nyasro-nepali-date-converter/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/nyasro-nepali-date-converter/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/nyasro-nepali-date-converter/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/nyasro-nepali-date-converter/reviews/)

## 贡献者

 *   [ nyasro ](https://profiles.wordpress.org/nyasro/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/nyasro-nepali-date-converter/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://nyasro.com)