# date_format_locale

- Thread: https://externals.io/message/32383
- Original archive: https://news-web.php.net/php.internals/32383
- Started by Keryx Web on 2007-09-19T14:19:54+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #32383 — Keryx Web — 2007-09-19T14:19:54+00:00

URL: https://externals.io/message/32383#32383

Hi all!

Are there any information available about the specifics and progress of 
date_format_locale?

Speaking as a non native English speaker this is a highly anticipated 
function.

Three specific questions:
1. Is there an implementation in HEAD?
2. Is there any chance of a backport to PHP 5?
3. Will it accept formatting according to `date()` or `strftime()` syntax?


Lars Gunther

---

## #32384 — Derick Rethans — 2007-09-19T14:25:05+00:00

URL: https://externals.io/message/32383#32384 · In reply to: #32383

> Are there any information available about the specifics and progress of
> date_format_locale?
> 
> Speaking as a non native English speaker this is a highly anticipated
> function.
> 
> Three specific questions:
> 1. Is there an implementation in HEAD?

yes, see: http://talks.php.net/show/time-phpworks7/21

> 2. Is there any chance of a backport to PHP 5?

no

> 3. Will it accept formatting according to `date()` or `strftime()` syntax?

 `date()`, but with some additions of course. How, I still need to work 
out.

regards,
Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org

---

## #32388 — Keryx Web — 2007-09-19T17:58:09+00:00

URL: https://externals.io/message/32383#32388 · In reply to: #32384

Derick Rethans skrev:
> 

> > […]
> 
> `date()`, but with some additions of course. How, I still need to work 
> out.
> 

Is that set in stone? Most non-english application developers are 
probably more familiar with the strftime syntax, as we tend to use that 
function 90 % of the time.

Personally I also find that syntax more appealing:

echo date('\T\o\d\a\y \i\t \i\s l \a\n\d \t\h\e \c\l\o\c\k \i\s H:i');

echo strftime('Today it is %a and the clock is %H:%M');


Lars Gunther

Who, btw, prefers date-syntax to not having this function at all...
