Title: Nepali Date Utilities
Author: ashokbasnet
Published: <strong>2018 年 11 月 14 日</strong>
Last modified: 2026 年 10 月 31 日

---

搜索插件

![](https://ps.w.org/nepali-date-utilities/assets/banner-772x250.jpg?rev=3776958)

![](https://ps.w.org/nepali-date-utilities/assets/icon-256x256.png?rev=3776958)

# Nepali Date Utilities

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

[下载](https://downloads.wordpress.org/plugin/nepali-date-utilities.1.1.0.zip)

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

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

## 描述

Nepali Date Utilities converts English (AD) dates to Nepali (BS) for posts, comments,
shortcodes, blocks, and a monthly post calendar. It helps Nepali sites show Bikram
Sambat dates consistently across WordPress.

**Features**

 * Convert post and modified dates to Nepali
 * Convert comment dates
 * Bilingual display (BS + AD)
 * Devanagari or Arabic numerals
 * Home / front page modes: default format, relative “time ago”, or hide
 * Shortcodes: `[ndu_today_date]`, `[ndu_date_ago]`, `[ndu_convert]`, `[ndu_post_calendar]`
 * Classic “Today Date in Nepali” widget (optional format)
 * Gutenberg blocks: **Nepali Today Date** and **Nepali Post Calendar**
 * Monthly BS post calendar with navigation, dual dates, optional post links, and
   accent color
 * Admin converter: English  Nepali
 * Live format preview and format presets in settings

**Shortcodes**

 * `[ndu_today_date]` — today’s date
 * `[ndu_today_date format="y m d, l"]` — custom format
 * `[ndu_date_ago]` — relative time for the current post
 * `[ndu_convert date="2024-10-31" from="eng" format="y m d"]` — AD  BS
 * `[ndu_convert date="2081-07-15" from="nep"]` — BS  AD
 * `[ndu_post_calendar]` — monthly BS calendar
 * `[ndu_post_calendar year="2081" month="7" lang="english" show_post_links="1" 
   accent="#c62828"]` — calendar with options

**Format tokens**

 * `y` — year (e.g. २०८१)
 * `m` — month name (e.g. कार्तिक)
 * `d` — day number
 * `l` — weekday
 * `H` / `h` — hour (24h / 12h)
 * `i` — minute
 * `s` — second
 * `a` — period of day (बिहान / दिउँसो / साँझ / राति)

**PHP helpers**

    ```
    ndu_today_date(), `ndu_get_date_ago()`, `ndu_format_nepali_date( $timestamp, $format )`
    ```

Supported conversion range: AD 1944–2033 / BS 2000–2099.

## 屏幕截图

[⌊Display settings with live preview, format presets, and About⌉⌊Display settings
with live preview, format presets, and About⌉[

Display settings with live preview, format presets, and About

[⌊Post Calendar tab with shortcode docs and live BS calendar preview⌉⌊Post Calendar
tab with shortcode docs and live BS calendar preview⌉[

Post Calendar tab with shortcode docs and live BS calendar preview

[⌊Instant AD ↔ BS converter⌉⌊Instant AD ↔ BS converter⌉[

Instant AD  BS converter

[⌊Help & shortcodes — format tokens and usage examples⌉⌊Help & shortcodes — format
tokens and usage examples⌉[

Help & shortcodes — format tokens and usage examples

[⌊Nepali post dates on the front end⌉⌊Nepali post dates on the front end⌉[

Nepali post dates on the front end

## 安装

 1. Upload the plugin folder to `/wp-content/plugins/nepali-date-utilities`, or install
    via Plugins  Add New.
 2. Activate **Nepali Date Utilities**.
 3. Go to **Settings  Nepali Date Utilities** to configure display options, try the
    converter, or preview the post calendar.

## 常见问题

### Does this replace English dates site-wide?

When “Convert dates to Nepali” is enabled, post, modified, and comment dates use
your Nepali format. You can switch to bilingual mode to show both BS and AD.

### Can I convert a specific date?

Yes. Use the Converter tab in settings, or the `[ndu_convert]` shortcode.

### How do I show a Nepali post calendar?

Use `[ndu_post_calendar]`, or insert the **Nepali Post Calendar** block. Configure
year, month, language, post links, and accent color. Arrows navigate between BS 
months.

### Is there a Gutenberg block?

Yes. Insert **Nepali Today Date** or **Nepali Post Calendar** and configure options
in the block sidebar.

## 评价

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

### 󠀁[Nepali date not being updated as per the English date.](https://wordpress.org/support/topic/nepali-date-not-being-updated-as-per-the-english-date/)󠁿

 [Subash Dahal](https://profiles.wordpress.org/wpsubash/) 2020 年 7 月 20 日

Posts date are not being updated in Nepali according to its English date. What can
be the issue behind it?

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

### 󠀁[It’s Work](https://wordpress.org/support/topic/its-work-50/)󠁿

 [Santosh Devkota](https://profiles.wordpress.org/santoshdevkota/) 2020 年 2 月 
17 日

Best Nepali Date Convoter Plugin For Wordpress .

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

### 󠀁[Nice Plugin](https://wordpress.org/support/topic/nice-plugin-2962/)󠁿

 [ashishcruel](https://profiles.wordpress.org/ashishcruel/) 2019 年 1 月 11 日

Nice to know and use about nepali date plugin . I want to mention changes in the
plugins like more options , date and time format and also backend date option . 
Choose between nepali and universal date . keep doing awesome work .

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

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.0

 * Redesigned settings UI (Settings API) with Display, Converter, Post Calendar,
   and Help tabs
 * Live format preview and format presets
 * Shared date formatter; safer conversion (no fatal errors on out-of-range dates)
 * Unicode Devanagari numerals; optional Arabic numerals
 * Bilingual BS + AD display mode
 * Comment date conversion
 * Home and front page date behavior
 * Improved period-of-day labels (बिहान / दिउँसो / साँझ / राति)
 * Shortcodes: format attribute on today date, `[ndu_date_ago]`, `[ndu_convert]`,`[
   ndu_post_calendar]`
 * Gutenberg blocks: Nepali Today Date, Nepali Post Calendar
 * BS post calendar with month navigation, dual dates, post links, accent color
 * Widget format field
 * Requires PHP 7.4+; WordPress 5.0+

#### 1.0.16

 * Maintenance release

## 额外信息

 *  版本 **1.1.0**
 *  最后更新：**2 周前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.1.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/nepali-date-utilities/)
 * 标签
 * [Bikram Sambat](https://cn.wordpress.org/plugins/tags/bikram-sambat/)[nepali calendar](https://cn.wordpress.org/plugins/tags/nepali-calendar/)
   [nepali date](https://cn.wordpress.org/plugins/tags/nepali-date/)[post date](https://cn.wordpress.org/plugins/tags/post-date/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
 *  [高级视图](https://cn.wordpress.org/plugins/nepali-date-utilities/advanced/)

## 评级

 4.7 星（最高 5 星）。

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

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

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

## 贡献者

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

## 支持

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

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