how to create array of a week days name in php
Posted
by I Like PHP
on Stack Overflow
See other posts from Stack Overflow
or by I Like PHP
Published on 2010-03-29T09:00:40Z
Indexed on
2010/03/29
9:03 UTC
Read the original article
Hit count: 166
php
i want to create an array of 7 days through php means all 7 days name... i don't want to write ..sunday monday tuesday...etc... and days will be started from sunday .. means if today is 29 march( monday) then it automatically grabs the current date and create an array of days name starting from sunday. array always be in this way $weakarray=("sunday","monday",......,"saturday");
© Stack Overflow or respective owner