Skip to content

Method locale_format_date

marufcetin edited this page Sep 1, 2026 · 1 revision

Method: locale_format_date()

Turkce Dokumantasyon | English Documentation

Category: Locale & Multilingual Methods
Submodule: AmberDB::Locale
Entry Type: Date & Time Formatting


1. Definition and Overview

locale_format_date() formats timestamps and ISO date strings according to localized language conventions (month and weekday names, date ordering).


2. Syntax and Signature

my $formatted = $adb->format_date($timestamp_or_date, [$format_preset]);

3. Practical Code Example

my $adb = AmberDB->new(cfg => { language => "tr" });
my $date_str = $adb->format_date(time(), "full");
# Returns e.g.: "1 Eylül 2026 Salı"

4. See Also

AmberDB Encyclopedia

Home · A-Z Index


Getting Started & Guides


Core Concepts


Core CRUD Methods


Query, Search & Facets


Transactions & Locks


Cache, Buffer & Low-Level


Locale & Helpers


Maintenance & Tools


Configuration Flags


File Formats


Language

Clone this wiki locally