Skip to content

Instantly share code, notes, and snippets.

View abidtkg's full-sized avatar
:atom:
Converting idea to code

Abid Hasan abidtkg

:atom:
Converting idea to code
View GitHub Profile
@abidtkg
abidtkg / Bengali.php
Last active June 29, 2024 17:31 — forked from alaminfirdows/Bengali.php
Laravel Bangla Date, Time and Number
<?php
class Bengali
{
// Numbers
public static $bn_numbers = ["১", "২", "৩", "৪", "৫", "৬", "৭", "৮", "৯", "০"];
public static $en_numbers = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"];
// Months
public static $en_months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
public static $en_short_months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];