🐘

PHP DD/MM/YYYY

ප්‍රතිදානය: 15/01/2025
ඉක්මන් යොමුව
ආකෘති තන්තුව
d/m/Y
ප්‍රතිදානය
15/01/2025

PHP හි DD/MM/YYYY ලෙස දිනය ආකෘතිගත කිරීම

🐘 PHP
<?php $date = new DateTime(); echo $date->format('d/m/Y'); // Output: 31/12/2025 // Or using date() function echo date('d/m/Y'); // Output: 31/12/2025

PHP දින ආකෘති කේත

කේතය අර්ථය උදාහරණය
d Day (01-31) 31
j Day (1-31) 31
m Month (01-12) 12
n Month (1-12) 12
Y Year (4 digits) 2025
y Year (2 digits) 25
M Abbreviated month Dec
F Full month December

PHP හි වෙනත් ආකෘති

වෙනත් භාෂාවල DD/MM/YYYY

නිල ලේඛනය

PHP හි දින ආකෘතිගත කිරීම ගැන වැඩි විස්තර සඳහා, නිල ලේඛනය බලන්න:

PHP දින ලේඛනය →

අදාළ පිටු