Convert English Number to Burmese Number
Project description
Burmese Number Converter
about
author : Han Zaw Nyein
email : hanzawnyineonline@gmail.com
Date, Datetime
import datetime
from burmese_number_converter import convert_burmese_date_time, BURMESE_NUMBERS
if __name__ == '__main__':
print(BURMESE_NUMBERS[0], BURMESE_NUMBERS[1], BURMESE_NUMBERS[2], BURMESE_NUMBERS[3])
current_date_time = datetime.datetime.today()
converted_date_time_string = convert_burmese_date_time(datetime_obj=current_date_time, str_format_time="%m/%d/%Y, %H:%M:%S")
print(converted_date_time_string)
converted_date_string = convert_burmese_date_time(datetime_obj=current_date_time, str_format_time="%m/%d/%Y")
print(converted_date_string)
current_date = datetime.date.today()
converted_date_obj_input_string = convert_burmese_date_time(datetime_obj=current_date, str_format_time="%m/%d/%Y")
print(converted_date_obj_input_string)
# output
၀ ၁ ၂ ၃
၁၁/၀၄/၂၀၂၂, ၂၃:၄၁:၁၇
၁၁/၀၄/၂၀၂၂
၁၁/၀၄/၂၀၂၂
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for burmese_number_converter-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfbdf972af47957de0475ca508da3f4e7b17c0e2f68507599d129dd98f5dc947 |
|
MD5 | 24557a9bb43d7c557df88c4cd7aea5f7 |
|
BLAKE2b-256 | 2122ec5bd81904ca132e95139cdd5a1551d58a2d0285a167d714b212fed67c91 |