||View All MessagesBack to WebFX|
This is not a programming language quesiton, but the answer will be used in it.
I'm writting a date class in PHP, and I'm interested to add more functionality to the current Date package of functions.
A example: if I call $now = date("l"); it'll return me the day of week in English (Sunday, for example).
I'm writting the Date class, to display something like this:
$now = $_DATE->getDayOfWeek("en"); that will return me Sunday. But if I change "en" to "pt", it will return me Domingo (Sunday in Portuguese).
This is the basic operation of my class. There're other features, but it's not important now.
My post is a help request. I want that you write to me the days of week, the months and also the abreviation of them (day of week and month). I also will apreciate if you send me the identifier of language (pt-br is portuguese brazilian. es = spanish, ...).
I wrote English, Portuguese Brazilian, Spanish, French and Italian. But I also want to correct if I made any mistake (so, you can re-send it if you know) and add more language support.
Waiting for responses...
Thanks in advance...
São Carlos - SP/Brazil