Nepali Date Converter

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.

0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录