WordPress.org

tiếng Việt

  • Giao diện
  • Plugin
  • Tin tức
    • Tài liệu hướng dẫn
    • Diễn đàn
  • Giới thiệu
  • Slack #WPVN
  • Facebook #WPVN
  • Tải WordPress
Tải WordPress
WordPress.org

Plugin Directory

Nepali Date Converter

  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập
  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập

Nepali Date Converter

Bởi AddonsPress
Tải về
  • Chi tiết
  • Đánh giá
  • Cài đặt
  • Nhà phát triển
Hỗ trợ

Mô tả

Nepali Date Converter makes converting dates between English (Gregorian) and Nepali (Bikram Sambat) formats easy. Whether you’re building a Nepali-language WordPress site or just need to display today’s Nepali date, this plugin has you covered.

For the best experience with Nepali Date Converter, check out the free CosmosWP theme.
View Demo → See Nepali Date Converter in action with real-world implementations.

Includes:
– Post Date to Nepali conversion
– Today’s Nepali date display
– Nepali human time differences (e.g., “३ सेकेन्ड अगाडि”)
– Shortcodes and widgets
– Custom functions for developers

Fully rewritten for version 3.0.0, this release modernizes the plugin from the ground up, improves accuracy, and ensures better compatibility.

Key Features

  • 🔁 Convert English ↔ Nepali dates
  • 🗓️ Show Nepali date for post publish dates
  • ⏳ Nepali human time differences (e.g., ३ मिनेट अगाडि)
  • 🧩 Widgets: Date Converter and Today’s Date
  • 🧪 Shortcodes: [nepali-date-converter], [ndc-today-date]
  • 🔧 Developer functions: ndc_eng_to_nep_date, ndc_nep_to_eng_date, and more
  • 📅 Supports Bikram Sambat years 2000 to 2099 BS
  • 🔒 Security improvements and code hardening

Shortcodes

1. [nepali-date-converter]

Display a Nepali date converter form.

Attributes:
– title: Custom title (default: Nepali Date Converter)
– result_format: Format for output (e.g., l, F j, Y)
– disable_ndc_convert_eng_to_nep: 1 to disable English to Nepali conversion
– disable_ndc_convert_nep_to_eng: 1 to disable Nepali to English conversion
– nepali_date_lang: nep_char (e.g., शुक्रबार, अशोज ८, २०७२) or eng_char

Examples:
[nepali-date-converter]
[nepali-date-converter title="Nepali Date"]
[nepali-date-converter title="Nepali date" result_format="l, F j, Y"]

2. [ndc-today-date]

Displays today’s Nepali date.

Widgets

  • NDC: Nepali Date Converter – Date converter widget
  • NDC: Today Date – Show today’s Nepali date

Developer Functions

  • ndc_eng_to_nep_date() – Convert English to Nepali
  • ndc_convert_eng_to_nep() – Convert using formatted string
  • ndc_nep_to_eng_date() – Convert Nepali to English
  • ndc_convert_nep_to_eng() – Convert using formatted string

Use in code:
echo do_shortcode(‘[nepali-date-converter]’);
echo do_shortcode(‘[ndc-today-date]’);
`
Please visit Nepali Date Converter for more information about another shortcode [ndc-today-date] and for all available functions.

Ảnh màn hình

  • Post date in Nepali
  • Date converter widget (backend)
  • Today’s date widget (backend)
  • Widget settings
  • Date converter frontend
  • Today’s date frontend
  • Combined output via shortcode

Cài đặt

Automatic Installation:
1. Go to Plugins → Add New
2. Search for “Nepali Date Converter”
3. Click Install and then Activate

Manual Installation:
1. Upload the nepali-date-converter folder to /wp-content/plugins/
2. Activate via the Plugins menu

After activation:
– Go to Appearance → Widgets to use NDC widgets
– Use shortcodes in posts/pages as needed
– To enable Nepali Post Date, go to Settings → General and scroll to the bottom

Hỏi đáp

What’s new in version 3.0.0?

  • Full plugin rewrite using modern PHP practices
  • Deprecated functions removed
  • Date conversion engine improved
  • Date range supported: 2000 BS to 2099 BS
  • Minimum PHP version now required: 7.2+
  • Security improvements

Can I show post publish dates in Nepali?

Yes, enable it from Settings → General (scroll to the bottom).

Can I use this in theme or plugin development?

Absolutely. Use the helper functions or shortcodes as needed.

Đánh giá

Excellent Plugin – Simple, Accurate & Super Useful!

Saroj Khanal 17 Tháng 4, 2025
I’ve been using the Nepali Date Converter plugin and it’s absolutely amazing! It does exactly what it promises – converts English dates to Nepali and vice versa with perfect accuracy. The interface is clean and easy to use, making it beginner-friendly. Whether you’re building a Nepali-focused website or just need a quick way to convert dates, this plugin is a must-have. Huge thanks to the developer for creating such a helpful tool. Keep up the great work! Highly recommended!

Best pluging for date converter

suryabista 28 Tháng 3, 2025
one of the best pluging I have ever used for date converter

How to convert the date in custom posts?

surozvd 15 Tháng mười một, 2021 1 trả lời
Hello How do we auto change the date of custom post types? it changed the date to Nepali in posts but didn’t work in the custom post types

Awesome Plugin 🙂

itskushal 20 Tháng 7, 2020 1 trả lời
A very useful plugin. it converts WordPress AD format to BS
Đọc tất cả 3 đánh giá

Người đóng góp & Lập trình viên

“Nepali Date Converter” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp
  • AddonsPress
  • AcmeIT
  • codersantosh

Dịch “Nepali Date Converter” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

3.0.5

  • Fixed: Corrected the number of days for months in BS 2082.

3.0.4 – 2025-05-02

  • Fixed: Return proper integer for format ‘U’
  • Fixed: Better post date extraction
  • Fixed: Add a filter to correct time display

3.0.3 – 2025-04-17

  • Added: WordPress latest compatibility
  • Fixed: Adjusted post date to 5:45 AM in Kathmandu time zone before converting to Nepali date format.
  • Fixed: Replaced date() with gmdate() to ensure UTC-based date formatting and avoid time zone issues.

3.0.2 – 2025-03-29

  • Fixed: Ensured 0 hour is correctly handled in date formatting
  • Fixed: Added checks to prevent fatal errors from themes passing invalid date formats

3.0.1 – 2025-03-29

  • Fixed: Few translation issue

3.0.0 – 2025-03-28

  • Rewrite: Complete plugin rewrite with modern codebase
  • Removed: Deprecated and legacy functions
  • Improved: Date conversion logic and accuracy
  • Supported: Dates from 2000 to 2099 BS
  • Security: Code hardening and data sanitization
  • Requirement: PHP 7.2+ minimum

2.0.8 – 2024-10-31

  • Added: WordPress latest compatibility
  • Added: Language folder

2.0.7 – 2024-06-15

  • Fixed : Date issue

2.0.6 – 2024-04-07

  • Updated : Tested up WordPress 6.5

2.0.5 – 2022-02-25

  • Fixed: Post Date Array notice in some cases

2.0.4 – 2022-02-04

  • Updated: WordPress version

2.0.3 – 2022-01-05

  • Added: Post Type Support

2.0.2 – 2021-04-21

  • Updated: WordPress version

2.0.1 – 2020-06-11

  • Added: New Feature => Nepali Human Time Diff
  • Updated: NDC_Nepali_Calendar

2.0.0 – 2020-06-10

  • Added: New Feature => Show Post Date to Nepali
  • Updated: Code Review
  • Updated: Prefix

1.0.1 – 2020-05-03

  • Updated: Latest version test
  • Added: Contributor

1.0

Initial version

Meta

  • Phiên bản 3.0.5
  • Cập nhật lần cuối 4 tuần trước
  • Số lượt cài đặt 900+
  • Phiên bản WordPress 4.9 hoặc cao hơn
  • Đã kiểm tra lên đến 6.8.1
  • Phiên bản PHP 7.2 hoặc cao hơn
  • Ngôn ngữ
    English (US)
  • Thẻ
    nepali date converterNepali Post Date
  • Nâng cao

Đánh giá

5 trên 5 sao.
  • 4 đánh giá 5 sao 5 sao 4
  • 0 đánh giá 4 sao 4 sao 0
  • 0 đánh giá 3 sao 3 sao 0
  • 0 đánh giá 2 sao 2 sao 0
  • 0 đánh giá 1 sao 1 sao 0

Thêm đánh giá của bạn

Xem tất cả đánh giá

Những người đóng góp

  • AddonsPress
  • AcmeIT
  • codersantosh

Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

Xem diễn đàn hỗ trợ

Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

Ủng hộ plugin này

  • Giới thiệu
  • Tin tức
  • Lưu trữ
  • Quyền riêng tư
  • Trưng bày
  • Giao diện
  • Plugin
  • Mẫu khối
  • Học hỏi
  • Hỗ trợ
  • Nhà phát triển
  • WordPress.tv ↗
  • Tham gia
  • Sự kiện
  • Quyên góp ↗
  • Năm cho Tương lai
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

tiếng Việt

  • Truy cập tài khoản X (trước đây là Twitter) của chúng tôi
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Xem trang Facebook của chúng tôi
  • Truy cập tài khoản Instagram của chúng tôi
  • Truy cập tài khoản LinkedIn của chúng tôi
  • Visit our TikTok account
  • Truy cập kênh YouTube của chúng tôi
  • Visit our Tumblr account
Viết code như làm thơ.