รูปแบบวันที่ในBrazil
Brasil
รูปแบบวันที่ที่ใช้ในBrazil
DD/MM/YYYY
ตัวอย่าง: 31/12/2025
วันนี้ในรูปแบบBrazil
31/12/2026
รายละเอียดรูปแบบ
| รูปแบบหลัก | DD/MM/YYYY |
| ตัวคั่น | / |
| รหัสภาษา | pt-BR |
| ระบบปฏิทิน | Gregorian |
จัดรูปแบบวันที่สำหรับBrazilในโค้ด
JavaScript
const date = new Date();
// รูปแบบสำหรับBrazil
const formatted = date.toLocaleDateString('pt-BR');
console.log(formatted); // 31/12/2026
Python
from datetime import datetime
import locale
# รูปแบบสำหรับBrazil
locale.setlocale(locale.LC_TIME, 'pt_BR')
date = datetime.now()
formatted = date.strftime('%d/%m/%Y')
print(formatted) # 31/12/2026