php echo date
-
Hi
Im a complete newbie to the whole php world. Ive been trying to learn this morning. But what im trying to achieve is more than i can create at this time. And the deadline is closing in hard.
What is need is a php code that calls out the current date + time. This is what i got so far.
<?php echo date(‘F d, Y G:i:s’) ?>
This does some of the trick, however, i need the text in swedish. Ive been reading about set locale, but i cant get my head around it.
So basicly i want a code that calls out the following.
Weekday, day month, year, HH:MM:SS
ex Tuesday, 8th april, 2014. 11:03:25In swedish.
I would be super appriciative if someone could help me with this.
Regards
Michael
The topic ‘php echo date’ is closed to new replies.