🐘

PostgreSQL DD/MM/YYYY

Çıktı: 15/01/2025
Hızlı Referans
Format Dizesi
DD/MM/YYYY
Çıktı
15/01/2025

PostgreSQL'de tarihi DD/MM/YYYY olarak biçimlendirme

🐘 PostgreSQL
SELECT TO_CHAR(NOW(), 'DD/MM/YYYY') AS formatted_date; -- Output: 31/12/2025

Tarih dizesini ayrıştırma

🐘 PostgreSQL (Ayrıştırma)
SELECT TO_DATE('31/12/2025', 'DD/MM/YYYY') AS parsed_date; -- Output: 2025-12-31

PostgreSQL tarih format kodları

Kod Anlam Örnek
DD Day of month (01-31) 31
MM Month (01-12) 12
YYYY Year (4 digits) 2025
YY Year (2 digits) 25
Mon Abbreviated month Dec
Month Full month name December

PostgreSQL'de diğer formatlar

Diğer dillerde DD/MM/YYYY

Resmi Dokümantasyon

PostgreSQL'de tarih biçimlendirme hakkında daha fazla bilgi için resmi dokümantasyona bakın:

PostgreSQL tarih dokümantasyonu →

İlgili Sayfalar